This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes How could I set my Eclipse when I do code identation / identing by CTRL+SHIFT+F my code stay unorgan Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How could I set my Eclipse when I do code identation / identing by CTRL+SHIFT+F my code stay unorgan" Watch "How could I set my Eclipse when I do code identation / identing by CTRL+SHIFT+F my code stay unorgan" New topic
Author

How could I set my Eclipse when I do code identation / identing by CTRL+SHIFT+F my code stay unorgan

André Asantos
Ranch Hand

Joined: Nov 23, 2009
Posts: 234
How could I set my Eclipse when I do code identation / identing by CTRL+SHIFT+F my code stay unorganized:



goal:
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

The default formatting settings use a maximum line width of 80 characters. If you want to change it, go to Preferences->Java->Code Style->Formatter->Edit... Give a name to the new profile, go to Line Wrapping, and change maximum line width to a bigger value. Apply and close.


[My Blog]
All roads lead to JavaRanch
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Whether or not you'll be able to get the closing brace indented like that is another matter, and it might depend on which version of Eclipse you're using.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How could I set my Eclipse when I do code identation / identing by CTRL+SHIFT+F my code stay unorgan
 
Similar Threads
Populate many images from a Blob to a .JSP
float result
Do cast from int to short
Which different between these two methods please?
Help with: java.sql.SQLException: ORA-01008: not all variables bound