Disable Eclipse formatting for certain sections of code only | Eclipse On E
Go to Window > Preferences > Java > Code Style > Formatter. If your Active profile is a built-in profile (the name will end in [built-in]) then create a new profile by clicking New… and give your profile a name. If you have Open the edit dialog now selected then Eclipse will immediately open the edit dialog and you can skip step 3. If your Active profile is a custom profile then click Edit… to open the edit dialog. Go to the Off/On Tags tab and select the Enable Off/On tags checkbox. Leave the Off and On tags as-is (but you can change them to anything else you prefer later).Read full article from Disable Eclipse formatting for certain sections of code only | Eclipse On E
No comments:
Post a Comment