Ash Searle wrote:
>>
>> and sth. like ctr-delete could delete the brace where the caret
>> is on, and the matching closing/opening brace, too.
>> this would be the opposite of "surround with {}"
>
> something like "remove outer scope". I'd love something like
> that in general, even to remove stand-alone if statements,
> while statements, try/catch, do/until. OK, most of those
> aren't the opposite of "surround with {}", but I think
> they'd be nice.
It takes more time to think about it in detail,
but I'm sure that it would be quite useful if you could
remove an if / for / while / try-catch - block etc. easily.
In many cases it would already help a lot if you could
just remove the closing brace in one step together with the opening brace.
I guess the perfect thing would be something like an intelligent
"edit structure", which recognizes, for example that you are inside an
if-else-statement -> then lets you choose if you want to introduce
another else-block, remove the else-block.
another example is of course when you're in a try-catch-block
-> lets you choose if you want to remove/add some catches, remove
the whole try-catch-block and so on.
> Please please don't use ctrl-del for anything
well, I'm flexible about what keystroke should be used ;-)
best regards,
Michael
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features