User forums > Help

AStyle "don't break one line blocks"

(1/1)

royalbox:
"Don't break one-line blocks" and "Don't break complex statements and multiple statements residing on a single line"

Can anyone post an example of what these options do? They either don't work or I've misunderstood what they are for.

Many thanks.

royalbox:
So, no one knows what this does. That's surprising.

What I want to do is keep simple inline class methods on one line without aStyle breaking it up like this:


--- Code: ---int Thing() const {return m_thing;}
--- End code ---

Is this not what one of these options should do?

thomas:
I guess that's what the first option does... but I don't know, I only ever used that plugin right as it comes out of the box :)

royalbox:
Ok thanks, it must be a bug then. Any chance of it being fixed?

Navigation

[0] Message Index

Go to full version