开发者

Code Insight (IntelliSense)

开发者 https://www.devze.com 2023-01-05 14:38 出处:网络
I am trying to add a description to functions I developed - I want this description to display in code insight when another developer is usi开发者_开发知识库ng my units or when a user uses API/COM to

I am trying to add a description to functions I developed - I want this description to display in code insight when another developer is usi开发者_开发知识库ng my units or when a user uses API/COM to connet and uses our software. At the moment all they see is e.g. Function name and return type but they have no idea what the function does exactly.

in C# you use XML tags.


Marco Cantu has a great blog post about how to use the same system of XML tags that Visual Studio uses to customize HelpInsight.


I'm not sure that's what you need but:

    /// <summary>
    /// 
    /// </summary>
    /// <param name="par1"></param>
    /// <param name="bla"></param>
    /// <param name="foo"></param>
    /// <returns></returns>

Put this above a function declaration (just type the / character three times and visual studio will do the magic) In summary you have to put the description

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号