I'd like to know how to select text between curly brackets, with just two or three shortcut keys.
E.g.: If I have code like this:
System.out.println("Hello World");
only the text "Hello World" should be selected.
I'd like to know how to select text between curly brackets, with just two or three shortcut keys.
E.g.: If I have code like this:
System.out.println("Hello World");
only the text "Hello World" should be selected.
根据文档,您可以使用:
Ctrl+W
/Ctrl+Shift+W
⌥↑
/⌥↓
对快捷方式的每次后续调用都会选择增加范围的代码(或减少,对于第二个快捷方式)。
试试这个插件: https ://plugins.jetbrains.com/plugin/11322-bracket-selection
“默认鼠标快捷方式:alt button1 双击或按住 alt -> 用人类术语在括号之间的任意位置双击左键”