How to go to matching bracket in Eclipse IDE (in Text, Java or JavaScript)?
(match opening and closing brackets)
I naturally tried Ctrl+}, but it is not there.
The % key can be used for the following : To jump to a matching opening or closing parenthesis, square bracket or a curly brace: ([{}])
The simplest and global way: Go to Window -> Preferences. Then in search put: "brace". Select -> Java -> Code Style-> Formatter After opening new window go to brace tab and change it as you prefer.
Solution. Select the opening or closing brace and press Ctrl-Shift-P (or select Navigate→ Go To→ Matching Bracket).
You can see the setting for this in Preferences > General > Keys
and search for Go to Matching Bracket
.
On my Mac it is Shift+Cmd+P (so probably Shift+Ctrl+P on Windows/Linux).
Try Ctrl + Shift + P . This may help you getting what you need.
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