添加注释的动机通常与代码重构一致。
The motivation for writing comments is often same as for refactoring your code.
为DNT变量和隐藏变量添加注释。
可以添加注释(和问题)。
为可翻译变量添加注释。
考虑添加注释及问题。
清单7给出了一个为可翻译变量添加注释的例子。
Listing 7 shows an example of adding comments for translatable variables.
可以向任意类型的活动中添加注释、问题,及响应。
Comments, questions, and responses can be added to any type of Activity.
为它们添加注释是个好习惯,因为这能防止它们被意外翻译。
It's a good habit to add comments to them because doing so can help prevent their accidental translation.
图2显示了用于查看草案模型和添加注释的小部件。
Figure 2 shows the widget for viewing a draft model and adding comments.
清单6将展示为各个饼图分区添加注释所需的代码。
Listing 6 shows the code required to annotate the various pie slices.
用同样的方法添加注释部分或其它标准xml类型。
Adding a comment section or other standard XML types is done the same way.
通过添加注释,您可以提供从需求到执行的追溯性。
By adding comments, you provide traceability from requirements to implementation. You can control requirements generation in either of two ways.
不同之处在于,任何人都可以添加注释,无需注册账户。
The big difference with the new feature is that annotations can be added by anyone, and no account is necessary.
毫无疑问,你已经千百次地被告知,在编写代码时一定要添加注释。
I'm sure you have been told a number of times that you should write comments in your code.
清单6给出了一些为DNT和隐藏变量添加注释的好例子。
Listing 6 shows some good examples of adding comments for the DNT and hidden variables.
在本例中,增加注释“Uploadscripts。”
概念上,这种结构可以以横切的方式在程序元素上附加注释。
Conceptually, such a construct allows you to attach annotations to program elements in a crosscutting manner.
你可以添加注释、放缩、搜索文本、阅读不带图片的文档等等。
You can add notes, zoom, search on text, view the document without images and more.
所以需要做的第一件事情是提供页面上的一些空间以便添加注释。
So the first thing you need to do is provide some space on the page for your comments.
他为需求文档添加注释,然后创建一个讨论条目以提出一个问题。
He adds a comment to the requirements document, and then creates a discussion entry to pose a question.
可以把注释添加到Entry类中,添加允许用户向条目添加注释的UI。
We could add comments to the Entry class and a UI to allow users to comment on entries.
用户还可以为API添加注释,并将它们导出到Word文档中。
Users can also append comments to APIs and export them as Word documents.
播放时间轴可以让我们的观众添加注释、标签,并在需要的地方跳过幻灯片。
The presentation time line allows our viewers to add comments and tags and skip slides where needed.
最好是注释掉旧代码并对新代码添加注释,这样可以更轻松地跟踪您的修改。
It's best to comment out the old code and add comments to the new code so it will be easier to track your modifications.
脚本树的注释-你脚本中的注释可以添加注释,可以轻易地找到它们
Script Tree Annotations - Problems in your script are now marked with Annotations, making them easy to find
如果希望给shelve加注释,可以提供- m选项,见清单5。
If you want to annotate a shelf, provide the -m option again, as shown in Listing 5.
可以考虑向特性文件添加注释,那么翻译人员就可以知道给定消息的环境。
Consider adding notes to the property files so translators will know the context of a given message.
还可以添加注释,将在资源条目中进行显示,在version栏的后面。
Comments may also be added that are displayed in the resource entry, just after the Version column.
此编程模型允许开发人员创建实现类,并为所需Web服务功能添加注释。
This programming model allows the developer to create an implementation class and annotate the web service features that are desired.
由于我们需要执行XML模式生成,因此必须为jython脚本添加注释。
Since we have to perform XML schema generation, we must annotate our Jython script.
应用推荐