Disable Eclipse Formatter Anywhere

I want to disable the eclipse formatter everywhere in a small section. Is there a plugin file that can be deleted?

+3
source share
3 answers

I'm not sure if you really can disable this command ("Format", part of the "Java" command groups).
But you can at least:

  • remove the key binding ( ctrl+ shift+ f) to this command using the "Keys" settings.
  • make sure that the project properties do not define the "format on save" action.
+3
source

For those who are looking for a team, you can turn off automatic formatting while saving through the settings.

- > Java- > - > , " ".

0

See the description of formatting on / off tags (assuming it was asked about Java) here: http://help.eclipse.org/helios/topic/org.eclipse.jdt.doc.user/whatsNew/jdt_whatsnew.html #JavaFormatter

0
source

Source: https://habr.com/ru/post/1794550/


All Articles