Auto folding of simple accessors

This feature is really great!
But it seems to work only for getters. Is this intended, or is this a bug?
Guillaume

ps: sorry for crossposting, that was my mouse, not me.

8 comments
Comment actions Permalink

Would it be too much trouble for you stop posting in HTML? I read these forums via intellij.net and it's rather annoying to see an empty message with an HTML attachment (and, in this case, broken links to other attachments).

Thanks!

0
Comment actions Permalink

Yes,
I think for accessors folding one liners is as sensible as 3 liners. Thanks, Alain.

Eugene
"Alain Ravet" <alain.ravet.list@wanadoo.be> wrote in message news:bguklu$50s$1@is.intellij.net...
Guillaume Pothier wrote:

This feature is really great!
Well, not completely :
http://www.intellij.net/tracker/idea/viewSCR?publicId=14649
: it doesn't fold one-liners.


If you find folding one-liners a strange idea, look at the example below :



Alain



Attachment(s):
collapseAllSuggestion.PNG
0
Comment actions Permalink

No, this should work for setters as well. Any problems with it?

"Guillaume Pothier" <gpothier@free.fr> wrote in message
news:bguh2l$ge3$3@is.intellij.net...

This feature is really great!
But it seems to work only for getters. Is this intended, or is this a bug?
Guillaume

>

ps: sorry for crossposting, that was my mouse, not me.



0
Comment actions Permalink

It doesn't fold the setters. I'm not sure if it's a config issue, but
getters get folded, while setters don't.

Regards,
Andrei

"Evgueny Vigdorchik" <ven@intellij.com> wrote in message
news:bgvpn0$co8$1@is.intellij.net...

No, this should work for setters as well. Any problems with it?

>


0
Comment actions Permalink

Yeah, another bug of mine:(
Fixed and will be available in the next build.

Friendly,
Eugene

"Andrei Oprea" <aoprea@creditwave.com> wrote in message
news:bh04gf$hbu$1@is.intellij.net...

It doesn't fold the setters. I'm not sure if it's a config issue, but
getters get folded, while setters don't.

>

Regards,
Andrei

>

"Evgueny Vigdorchik" <ven@intellij.com> wrote in message
news:bgvpn0$co8$1@is.intellij.net...

No, this should work for setters as well. Any problems with it?

>

>
>


0
Comment actions Permalink

Evgueny Vigdorchik wrote:

>Yeah, another bug of mine:(

>

There are other ways to get your name in the Guiness Book :)

Alain

0
Comment actions Permalink

There are other ways to get your name in the Guiness >Book :)


I've got you, Alain, you are dreaming of your name being placed in Guiness
book! Then you may probably qualify as the most mocking developer ever:)
Alas, for me this way also won't do.

Eugene


0

Please sign in to leave a comment.