Jun 1, 2015

Best way to format Eclipse code

https://github.com/jokeyrhyme/eclipse-formatter-profiles/blob/master/google-style-guide-javascript-eclipse.xml

1.       Save this XML on local machine
2.       In formatter, import the saved xml
3.       Click Apply and OK.

Add it in Eclipse formatter.. 



and using shortcut keys (ctrl+shift+f) it formats entire file.



No comments: