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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With