Eclipse跳到关闭大括号 [英] Eclipse jump to closing brace
本文介绍了Eclipse跳到关闭大括号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
将光标放在除了打开或关闭括号和打孔 Ctrl + Shift + P 以找到匹配的括号。如果Eclipse找不到你,你会得到一个找不到匹配的括号。
编辑: 作为 Romaintaz以下提到的,您还可以让Eclipse自动选择所有两个花括号之间的代码简单地通过双击开始大括号的右侧。
What is the keyboard short cut in Eclipse to jump to the closing brace of a scope?
解决方案
Place the cursor just beyond an opening or closing brace and punch Ctrl + Shift + P to find the matching brace. If Eclipse can't find one you'll get a "No matching bracket found" message.
edit: as mentioned by Romaintaz below, you can also get Eclipse to auto-select all of the code between two curly braces simply by double-clicking to the immediate right of a opening brace.
这篇关于Eclipse跳到关闭大括号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文