Reputation: 4909
A Java code block is delimited by {
braces }
and moving the cursor to the start and end of these is a common use case for a developer. As such, the JetBrains IDE Intellij has shortcuts for these. They are:
ctrl+[ Go to block start
ctrl+] Go to block end
A function's argument list in Java is delimited by (
round brackets )
and quite often we want to be at the beginning or end of this bit of code. What are the respective shortcuts for this functionality?
Upvotes: 4
Views: 2135
Reputation: 44150
Ctrl + Shift + M will toggle you between the starting and closing parentheses.
The name of this function in the key map is "Move Caret to Matching Brace" if you wanted to change it to something else.
Upvotes: 8