To illustrate brace matching colorization, type do not copy and paste the following code in the code editor.
若要演示大括号匹配着色,请在代码编辑器中键入(不要复制和粘贴)以下代码。
RubyMine performs automatic Ruby code styling, with brace matching and folding, custom formatting, indentation and TODO marks.
RubyMine拥有自动代码格式化功能,如括号匹配、代码折叠、自定义格式、缩进和TODO标记。
You can go further and incorporate a parser to do syntax checking, brace-matching and region folding.
你也可以进一步合并一个解析器以实现语法检查、括号匹配和区域折叠。
The } (right curly brace) should begin a line and be indented to align with the beginning of the line containing the matching { (left curly brace).
(右大括号)应与{(左大括号)的那一行的开头对齐
Parenthesis Matching: % Takes you to the matching parenthesis, curly brace, or bracket, depending on what you are on. This always comes in handy as a quick double-check.
括号匹配:%可以让光标从它当前所在的括号跳转到与它相匹配的括号上去,对花括号和圆括号,方括号都有效,常用于手工检查括号是否匹对。
You can go further and incorporate a parser to do syntax checking, brace -matching and region folding.
你也可以进一步合并一个解析器以实现语法检查、括号匹配和区域折叠。
When the cursor is next to a brace, the editor can highlight the matching brace so that you can more easily see the contained code.
当光标位于大括号旁边时,编辑器可以突出显示匹配的大括号,以便您可以更方便地看到包含的代码。
The selector and initial brace each appear on their own lines, declarations are indented on subsequent lines, and the closing brace is aligned with the matching opening brace, as shown.
选择器和左大括号各自显示在自己的行上,声明在后续行上缩进,右大括号和相应的左大括号对齐,如下所示。
The selector and initial brace each appear on their own lines, declarations are indented on subsequent lines, and the closing brace is aligned with the matching opening brace, as shown.
选择器和左大括号各自显示在自己的行上,声明在后续行上缩进,右大括号和相应的左大括号对齐,如下所示。
应用推荐