Answers for "eclipse format code"

2

eclipse formatter off

// @formatter:off
...
// @formatter:on
Posted by: Guest on December-07-2020
0

eclipse format on save

To enable it, do the following:

    Go to Window > Preferences > Java > Editor > Save Actions.
    Select Perform the selected actions on save.
    Select Format Source code. ...
    Make sure Organize imports are selected.
    Select Additional actions.
    Click Ok, edit some code, save it and watch Eclipse format it automatically.
Posted by: Guest on October-23-2020

Browse Popular Code Answers by Language