Reputation: 11053
Collapsing code sections is nice. But everytime I select the collapsed part in the editor and cut/delete it the selection expands and I have to find the start/end manually in the expanded code.
Is there an easier way?
Many thanks!
Upvotes: 1
Views: 588
Reputation: 3732
Using Neon
Hitting Backspace or the Enter key still just expands the collapsed code
Upvotes: 0
Reputation: 11607
When your cursor is inside the element you can use Select Enclosing Element
Shift+Alt+Up. You may need to press it a few times, depending how many levels of enclosing elements there are (blocks like loops).
You may use a desktop environment that thinks it is a good idea to define a few hundred shortcuts that you will never use but that override all your application shortcuts (Ubuntu Unity). In this case you may need to change your desktop environment (by far the most painless way to solve this problem).
Upvotes: 2