在delphi代码编辑界面,当鼠标移到一个函数上面时,会弹出提示信息提示该函数的“函数出处、parameters、returns”信息该提示信息可否自定义,我像增加提示比如函数function A.fun1(A1:integer):boolean //功能注释
begin
...
end;当某处代码用到,fun1时,鼠标移上去会提示
"
declare in aparameters
A1
system.integer
returns
system.boolean能否增加增加显示提示信息: “//功能注释”
"当然功能注释可以是任何方式,只要能实现就行,这样看代码就能方便的多
begin
...
end;当某处代码用到,fun1时,鼠标移上去会提示
"
declare in aparameters
A1
system.integer
returns
system.boolean能否增加增加显示提示信息: “//功能注释”
"当然功能注释可以是任何方式,只要能实现就行,这样看代码就能方便的多
解决方案 »
- sktConnServer 取值问题
- 请问这个存储过程错在那里?
- TbyteDnyArray?
- 请教:怎样把视图和存储过程都移到程序中??(来者有分,问题解决分数不够可以再加!!)
- 二代身份证色彩检测问题,挑战高难度,高手应招.
- 我在OLE控键中加了一个画板(新建的方式),请问我在上面画完之后如何保存他呢
- 类型转换
- 火急!!!!还是关于dll调用的问题!
- 报表转入EXCEL后,如何预先限定EXCEL中,某行,某列,或整行整列的字体,单元格宽度,高度?
- 数据库字段类型匹配???
- 用鼠标右键单击一个桌面图标、单击“属性”发现“查找目标按钮”是灰色
- delphi 一个窗体上 是不是 adoconnection 越多越好 分的越细越好
/// <summary>
/// 杀死进程
/// </summary>
/// <returns>
/// <para>
/// 返回结果
/// </para>
/// <para>
/// 0:成功
/// </para>
/// <para>
/// 其他:失败
/// </para>
/// </returns>
另外Ls的是C的注释啊
The above documentation is actually well-formatted XML. The <summary> tag is used to provide a short description on the code element. Each <param> tag tells us what the target parameter (specified by the name attribute) means. The <see> tag refers to a code element. All of these tags will be explained in the section XML Documentation Tags Reference.The Delphi IDE and compiler can expand these tags to display live help hints and generate XMLDoc files. When you move mouse over a symbol in source code for seconds, a popup window with its LIVE documentation will be shown if the build-in Help Insight feature is enabled.It's very cool, isn't it? In addition, all XML Documentation comments could be folded in the RAD Studio XE2 to keep source code clean:Notes on XML usage:l If you want angle brackets to appear in the text of a documentation comment, use < and >. For example, the string "<text in angle brackets>" will appear as <text in angle brackets>. l The cref attribute in a tag means a reference to a code element. You should use this form in Delphi: “Namespace|Element Path”. e.g. <see cref=”Spring.Utils|TDriveInfo.GetDrives” /> l To reference a generic type or member as a target in the cref attribute, you may use curly braces around the "T". e.g. <see cref="Spring.Collections|IList {T}"/>. l All common HTML tags such as <p>, <b>, <i>, <u>, <a>, <img>, etc. should be also supported. All XML tags could be divided into the following categories:l Section Tags Defines a top-level section in a topic. e.g. Summary, Res, Examples section.l Block Tags Adds a block to a section. e.g. a paragraph, an image or a code snippet.l Inline Tags Formats the effect of a text. e.g. bold, italic, underline, hyperlink.
支持!去cnpack上了解一下吧.