Reputation: 1
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.
Upvotes: 0
Views: 1093
Reputation: 1085
Based on documentation, you can use:
Ctrl+W
/ Ctrl+Shift+W
⌥↑
/ ⌥↓
Each subsequent call to the shortcut selects an increasing range of code (or decreasing, for second shortcut).
Upvotes: 8
Reputation: 11
try this plugin out: https://plugins.jetbrains.com/plugin/11322-bracket-selection
"default mouse shortcut: alt button1 doubleclick or hold alt -> double left click anywhere in between brackets in human terms"
Upvotes: 0