eclipsepluginsformatter

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 ?


Solution

  • 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.