I often use Ctrl+Shift+F
in Eclipse to format Java source code.
However in some situations I would like that some portions of code were not formatted, e.g. some long CLI commands inside comments.
So, I would like to tell Eclipse: "whenever I hit Ctrl+Shift+F
, please format all lines of code except for x-y-z".
Is it possible?