How to reformat this code?

Hi all,

I have a very small question:I have code, formatted like this:


I'd like to reformat it to be on one line, but the formatter just leaves it as it is. The line does not exceed the max line length, and I'm wondering which option I have to turn on for this. I tried a lot already Ilike 'Keep when reformatting: line breaks', but no luck so far!

Any help appreciated!

Erik

2 comments
Comment actions Permalink

I would love to know the answer to this as well. I have been putting off opening a feature request for exactly what you ask about but haven't gotten around to it yet.

I have hunted the settings for something to accomplish this as well and have never found anything to work this much needed magic.

0
Comment actions Permalink

+1

"Michael Parmeley" <no_reply@jetbrains.com> wrote in message
news:1793813.1191868688322.JavaMail.itn@is.intellij.net...
>I would love to know the answer to this as well. I have been putting off
>opening a feature request for exactly what you ask about but haven't gotten
>around to it yet.
>

I have hunted the settings for something to accomplish this as well and
have never found anything to work this much needed magic.



0

Please sign in to leave a comment.