我正在寻找有关带有摘要标签的 Help Insight 的解决方案/帮助。
我正在使用 Delphi Tokyo 10.2 Update 2。
1.) HelpInsight 可以工作并且该函数确实有附加信息
interface
type
TMyClass= class(TForm)
private
/// <summary> Removes the specified item from the collection
/// </summary>
/// <param name="Item">The item to remove
/// </param>
/// <param name="Collection">The group containing the item
/// </param>
/// <remarks>
/// If parameter "Item" is null, an exception is raised.
/// <see cref="EArgumentNilException"/>
/// </remarks>
/// <returns>True if the specified item is successfully removed;
/// otherwise False is returned.
/// </returns>
function TClass.TestFunction(Item: Pointer; Collection: Pointer): Boolean;
end;
2.) HelpInsight 不添加额外信息
implementation
/// <summary> Removes the specified item from the collection
/// </summary>
/// <param name="Item">The item to remove
/// </param>
/// <param name="Collection">The group containing the item
/// </param>
/// <remarks>
/// If parameter "Item" is null, an exception is raised.
/// <see cref="EArgumentNilException"/>
/// </remarks>
/// <returns>True if the specified item is successfully removed;
/// otherwise False is returned.
/// </returns>
function TClass.TestFunction(Item: Pointer; Collection: Pointer): Boolean;
begin
// Non-XML DOC comment
// ...
end;
我不喜欢在界面中包含摘要 XML 代码。是否有任何解决方案可以让 HelpInsight 从实施部分获取摘要?
说明书中并没有明确说明docs http://docwiki.embarcadero.com/RADStudio/en/Help_Insight,但是有一个非常小的提示(粗体文本)表明它在实现部分不起作用:
View > Help Insight Shift+Ctrl+H
Displays a hint containing information about the symbol, such as type, file, location of declaration, and any XML documentation associated with the symbol (if available).
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)