There was a settings to KEEP simple methods in one line (on General tab of code style settings). But it only preserves methods which are already written in one line. AFAIK code formatter never puts into one line a method which used to span on multiple lines.
-- Valentin Kipiatkov Chief Scientist, Vice President of Product Development JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!"
There was a settings to KEEP simple methods in one line (on General tab of
code style settings). But it only preserves methods which are already
written in one line. AFAIK code formatter never puts into one line a method
which used to span on multiple lines.
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:18674100.1075666411372.JavaMail.itn@is.intellij.net...
>
>
>
>
I guess it does it by default hence you removing the option right? Make sense now.
I guess I will file a request to REFORMAT these one liner methods to have their braces on the same line like I showed before.
Thanks Valentin
Jacques