Eclipse Code Formatter Plugin
Can some one suggest me a plugin to format HTML and JAVA code with proper indents etc ? Is there any built in option there in Eclipse ? Eclipse does have built in Java formatting: Preferences > Java > Code Style > Formatter For HTML, you might try something like HTML Tidy . The Web Tools Platform project also includes formatting. Use Source -> Format or CTRL+SHIFT+F It's a combination of all the answers above, which suits me- Go to Preferences > Java > Code Style > Formatter and set all the options you want by creating your own profile or using a default one. Personally I find the line-wrap