How do I make rubymine select the block that corresponds to the position where the cursor is located?
For example,
def hoge
if huga
else
end
end
At some point, if there is a cursor in line 1 or 5, select all of them. If you have a cursor in the second to fourth lines, you can select only this range.
rubymine
I don't think I can do it at once, so
Move Caret to Code Block Start with Selection (⌥ ) [[) and
Extend Selection(⌥↑)/Shrink Selection(⌥↓)
I think you will use (or macrosize) in combination.
© 2024 OneMinuteCode. All rights reserved.