One of which is selecting blocks between {}, (), or [] or jumping between the opening/closing of a block.
Let’s assume you have cursor on itemA.
Ctrl+W -> selected:
itemA
Ctrl+W -> selected:
method2(itemA)
Ctrl+W -> selected:
item1, method2(itemA), item3,
item4, item5
Ctrl+W -> selected:
method(item1, method2(itemA), item3,
item4, item5)
And so on. After that it would select whole method, class etc.
Honestly this is the shortcut which I use most frequently. Unfortunately I sometimes try to use that in other applications – each web browser closes tab by pressing Ctrl+W 🙂
Another thing is:
- Ctrl + {
- Ctrl + }
It jumps to opening / closing bracket