没有硬性规定一个代码行应该多长。
快速导航到使测试失败的代码行。
接下来,要定位这些注释和代码行。
下面的C代码行表示了条件转移
您还可以双击源代码行旁边的标记栏。
You can also double-click the marker bar next to the source code line.
添加如代码行4所示的代码。
接下来的代码行用于防止错误。
这些代码行是原始主题名称的翻译。
避免在示例代码行的开始使用制表符。
代码行1显示了这些扩展点是如何定义的。
代码行2是一个扩展点定义的范例。
打开此文件并删除清单8中的代码行。
编辑这个文件并添加以下代码行。
定位这些注释和代码行。
下面的代码行搜索PATH变量,查找分号。
The line of code below searches the PATH variable looking for a semicolon.
代码行1显示了该脚本的源代码。
在本文中有关输出的代码行均缩写为“…”。
All lines of code concerning output are abbreviated with '... 'in the article.
删除触发器处理程序中的下列代码行。
这个增强型的更新方法需要一点额外的代码行。
The enhanced update method requires just a few additional lines of code.
回头看一下我们创建JMS会话的代码行。
图16:被开发的源代码行总数的趋势。
Figure 16: Trend of total source lines of code (SLOC) developed.
新代码行类似清单4。
将代码行的长度限制在90个字符以内,包括空格。
Confine code line lengths to 90 characters, INCLUDING blank Spaces.
通过双击代码行旁边的灰色空白边,就可以设置断点。
You can toggle a breakpoint by double-clicking the gray margin beside the line of code.
在前面的代码行中对这些参数进行了初始化。
打开文件,寻找清单1 所示的代码行。
Open the file for editing, and find the following lines shown in Listing 1.
最直接的好处当然是代码行的减少,这真的很棒。
The immediate advantage, of course, is that you have fewer lines of code, which is always a good thing.
添加清单5中的代码行确保扩展被正确加载和卸载。
Add the lines in Listing 5 to ensure the extension is loaded and unloaded correctly.
方法签名以冒号结尾,表示下面的代码行是函数体。
The method signature ends with a colon, which indicates that the body of the function follows on subsequent lines.
例如,基于C的语言使用分号(;)来指示代码行的结束。
For example, C-based languages use a semicolon (;) to indicate the end of a line of code.
应用推荐