Indenting / unindenting block of collapsed code

I don't know if it's a bug, or a request, but i'd classify this as a bug.

I would expect that when i collapse a piece of code (in php, js, css, etc - basically in any file), and then indenting it (basically put the cursor in front of the collapsed code |{...} and press tab), that the whole collapsed block of code will be indented. Currently only the first line of a collapsed block of code is indented/unindented.

2 comments
Comment actions Permalink

Hi drian,

Here is the ticket on the issue tracker: http://youtrack.jetbrains.net/issue/WI-2140?projectKey=WI

As a workaround -- just select whole line with folded/collapsed text and then use indent/unindent

0
Comment actions Permalink

oh that's nice, at least the workaround works... it's a timesaver

thanks

0

Please sign in to leave a comment.