hi,
how is it done? cant find the option? why is it anyways, that so many people format their code that way? i really dont like it...
int
foo(int); //dont like
int foo(int); //like
hi,
how is it done? cant find the option? why is it anyways, that so many people format their code that way? i really dont like it...
int
foo(int); //dont like
int foo(int); //like
By default, Eclipse shouldn't be reformatting your code unless you have it do so through the Format command.
However, if you're working with other people's codes and want to format it to your liking it is possible to have Eclipse apply formatting.
You can adjust how this works by locating the Code Style
section under the language you are using under the Preferences
menu.