wmyywm / eclipse-code-formatter-intellij-plugin

Automatically exported from code.google.com/p/eclipse-code-formatter-intellij-plugin
0 stars 0 forks source link

Formatter automatically rearranges code. #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is the eclipse code formatter plugin supposed to also automatically rearrange 
the methods?  It is doing so on my system, and I'm not sure how to turn it off.

As a workaround, I made a code-style -> java -> arrangement setup of *NOTHING*, 
and it leaves things alone, but if I have an arrangement setting that I want to 
use, I can't use the plugin on other people's code, since it rearranges 
everything.

Is there a way to turn this off, or have I done something to cause this?

Original issue reported on code.google.com by michael....@gmail.com on 7 Jun 2013 at 10:23

GoogleCodeExporter commented 9 years ago
rearranging is a function of intellij. you can turn it off in the reformat 
dialog when pressing  ctrl+alt+L  if you turn on Setting | Editor | show 
reformat code dialog

Original comment by vojta.kr...@gmail.com on 7 Jun 2013 at 10:37

GoogleCodeExporter commented 9 years ago
Ah, perfect!  Thank you so much!  That worked perfectly.  I could NOT find that 
setting.

Original comment by michael....@gmail.com on 7 Jun 2013 at 11:46

GoogleCodeExporter commented 9 years ago
Good.

Original comment by vojta.kr...@gmail.com on 13 Jun 2013 at 10:25