Eclipse jump to closing brace
Eclipse中的键盘快捷键跳转到范围的右括号是什么?
Place the cursor next to 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.
As the shortcut Ctrl + Shift + P has been cited, I just wanted to add a really interesting feature: just double-click to the immediate right of the {
, and Eclipse will select the whole code block between the opening {
and corresponding closing }
. Similarly, double-click to the immediate left of the closing '}' and eclipse will select the block.
使用Ctrl + Shift + L可以打开“帮助键”,您可以在其中找到所有快捷键。
链接地址: http://www.djcxy.com/p/60642.html下一篇: Eclipse跳转到右大括号