Home - Search - Site Map - Site Graph   |  Contact  
( Last Modified: 2008 October 20th 01:31 PM )

Eclipse Preferences and how to configure them

Add a short cut key to remove trailing whitespace

Windows > Preferences... > General > Keys > Remove Trailing Whitespace

and bind it to some key sequence (ex. ctrl-alt-w)

Set tabs length and use spaces instead of tab character

Windows > Preferences... > Java > Code Style > Formatter > Edit... >

Indentation (Tab)
Tab Policy: Spaces only
Indentation size: 3
Tab Size: 3
(Check) Statements withing 'switch' body

 


TODO:


Line Wrapping (Tab)

Maximum line Width: 100

Comments (tab)

Maximum line Width: 100



( Page Created: 2008 October 20th 01:31 PM )