little like to have: customizable code folding - e. g. within a method

Regarding the subject - specially if I'm working on larger methods it
sometimes would be nice if I could select some lines of code, get a "-" icon
on the left hand side of the editor and be able to fold these lines.
Actually I'm used to to this from Homesite.

Anybody else finding this useful, or ist it allready possible (maybe via
some config stuff)?



0
Avatar
Permanently deleted user

RK wrote:

Regarding the subject - specially if I'm working on larger methods it
sometimes would be nice if I could select some lines of code, get a "-" icon
on the left hand side of the editor and be able to fold these lines.
Actually I'm used to to this from Homesite.

Anybody else finding this useful, or ist it allready possible (maybe via
some config stuff)?


Ctrl+.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

How do you remove (not expand) user-added folding areas?

0
Avatar
Permanently deleted user

Although Ctrl -/+ is very useful, I don't think it is what RK was asking
for.

I believe what was requested was the ability to select an arbitrary group of
lines that may not have any code folding assigned to it (as a group), and
press a key sequence to fold just that group of lines.

"Maxim Shafirov (JetBrains)" <max@intellij.com> wrote in message
news:c6o5om$469$1@is.intellij.net...

RK wrote:

>

Regarding the subject - specially if I'm working on larger methods it
sometimes would be nice if I could select some lines of code, get a "-"

icon

on the left hand side of the editor and be able to fold these lines.
Actually I'm used to to this from Homesite.

>

Anybody else finding this useful, or ist it allready possible (maybe via
some config stuff)?

>
>
>
Ctrl+.

>

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"



0
Avatar
Permanently deleted user

Nevermind. I haven't finished my first cup of coffee yet this morning.
"Ctrl + ." is exactly what was requested.
I didn't see the '.'

"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:c6obe2$atj$1@is.intellij.net...

Although Ctrl -/+ is very useful, I don't think it is what RK was asking
for.

>

I believe what was requested was the ability to select an arbitrary group

of

lines that may not have any code folding assigned to it (as a group), and
press a key sequence to fold just that group of lines.

>

"Maxim Shafirov (JetBrains)" <max@intellij.com> wrote in message
news:c6o5om$469$1@is.intellij.net...

RK wrote:

>

Regarding the subject - specially if I'm working on larger methods it
sometimes would be nice if I could select some lines of code, get a

"-"

icon

on the left hand side of the editor and be able to fold these lines.
Actually I'm used to to this from Homesite.

>

Anybody else finding this useful, or ist it allready possible (maybe

via

some config stuff)?

>
>
>
Ctrl+.

>

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

>
>


0
Avatar
Permanently deleted user

There is also the Camouflage plugin. It's awesome, but has not been
updated to work with 4.0. I hope the developer can find time to fix it.

Norris Shelton
Sun Certified Java Programmer




Tim Haley wrote:

>Nevermind. I haven't finished my first cup of coffee yet this morning.
>"Ctrl + ." is exactly what was requested.
>I didn't see the '.'
>
>"Tim Haley" <ymaraner@yahoo.com> wrote in message
>news:c6obe2$atj$1@is.intellij.net...

>
>>Although Ctrl -/+ is very useful, I don't think it is what RK was asking
>>for.
>>
>>I believe what was requested was the ability to select an arbitrary group
>>
>>
>of

>
>>lines that may not have any code folding assigned to it (as a group), and
>>press a key sequence to fold just that group of lines.
>>
>>"Maxim Shafirov (JetBrains)" <max@intellij.com> wrote in message
>>news:c6o5om$469$1@is.intellij.net...
>>
>>
>>>RK wrote:
>>>
>>>
>>>
>>>>Regarding the subject - specially if I'm working on larger methods it
>>>>sometimes would be nice if I could select some lines of code, get a
>>>>
>>>>
>"-"

>
>>icon
>>
>>
>>>>on the left hand side of the editor and be able to fold these lines.
>>>>Actually I'm used to to this from Homesite.
>>>>
>>>>Anybody else finding this useful, or ist it allready possible (maybe
>>>>
>>>>
>via

>
>>>>some config stuff)?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>Ctrl+.
>>>
>>>--
>>>Maxim Shafirov
>>>IntelliJ Labs / JetBrains Inc.
>>>http://www.intellij.com
>>>"Develop with pleasure!"
>>>
>>>
>>
>>
>
>

>

0
Avatar
Permanently deleted user

Ctrl+.


Hey, that (as well as CtrlShit.) is quite a cool feature I hadn't been aware of. Is there any way to remove the custom folding areas (i.e. to undo Ctrl+.)?

Regards,
Jens

0
Avatar
Permanently deleted user

Hey, that (as well as CtrlShit.) is quite a cool feature I hadn't been

aware of. Is there any way to remove the custom folding areas (i.e. to undo
Ctrl+.)?
Ctrl+. again should work.

Eugene.


0
Avatar
Permanently deleted user

I knew that there would be a way of doing this :)
Great.
Thanks..

Rouven


"Maxim Shafirov (JetBrains)" <max@intellij.com> schrieb im Newsbeitrag
news:c6o5om$469$1@is.intellij.net...

RK wrote:

>

Regarding the subject - specially if I'm working on larger methods it
sometimes would be nice if I could select some lines of code, get a "-"

icon

on the left hand side of the editor and be able to fold these lines.
Actually I'm used to to this from Homesite.

>

Anybody else finding this useful, or ist it allready possible (maybe via
some config stuff)?

>
>
>
Ctrl+.

>

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"



0
Avatar
Permanently deleted user

Chris Sherratt wrote:

> How do you remove (not expand) user-added folding areas?


One way is to Zap and restore the class editor contents, with this sequence:


Ctrl-A
Ctrl-X
Ctrl-V


Alain

0

请先登录再写评论。