• Post Reply Bookmark Topic Watch Topic
  • New Topic

api to format a jsf code  RSS feed

 
ahmed karim
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi every one,

i want to reformat a jsf page code(indentation...), there is any api that can i use?? any tip??

Thanks in Advance
 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you are using eclipse, just press Ctrl + Shift + F
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed.

And by the way, you can setup the formatting preferences by Window � Preferences � Java � Code Formatter.
 
ahmed karim
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed i want to re-format a great amount of JSF pages, I thought using a java API who can make that programmatiquelly.

there is such API, or any other tip??
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!