Eclipse - 如何去匹配的括号?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20854135/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse - how to go to matching bracket?
提问by Paul Verest
How to go to matching bracket in Eclipse IDE (in Text, Java or JavaScript)?
如何转到 Eclipse IDE 中的匹配括号(文本、Java 或 JavaScript)?
(match opening and closing brackets)
(匹配左括号和右括号)
I naturally tried Ctrl+}, but it is not there.
我自然尝试过Ctrl+},但它不存在。
回答by greg-449
You can see the setting for this in Preferences > General > Keys
and search for Go to Matching Bracket
.
您可以在中查看此设置Preferences > General > Keys
并搜索Go to Matching Bracket
.
On my Mac it is Shift+Cmd+P(so probably Shift+Ctrl+Pon Windows/Linux).
在我的 Mac 上是Shift+Cmd+P(所以可能 Shift+Ctrl+P在 Windows/Linux 上)。
回答by Foolish
Try Ctrl+ Shift+ P . This may help you getting what you need.
试试Ctrl+ Shift+ P 。这可能会帮助您获得所需的东西。