Display hover function information in Visual Studio 08

I'm just wondering which one is the format that I need to write in the function so that they appear when you hover over the function with the mouse.

sort of

void myfunct(int a; char b, float c); This function just messes with the variables with no objetive but to show people from stackoverflow what I mean. Inputs-> a: does nothing b: neither this one c: nope 

Therefore, when I use functions in a large proyect, I don’t need to look for any specific function or what kind of variable it means

+4
source share
2 answers

You can take a look at this documentation.

+1
source

if you are thinking of something like C # or VB that show the description of parameters and functions, MSVC doesn’t have such a thing, but Microsoft has a special format for code comments, as follows from what you can use to generate help:

 /// <summary> /// summary of variable, function, class or any thing else /// </summary> /// <remarks> /// detailed description of object /// </remarks> /// <param name="a">description of a</param> /// <param name="b">description of b</param> /// <param name="c">description of c</param> /// <returns>describe return value of function</returns> 

when you compile your code, it will generate an XML document that can be used to create reference documents.

+2
source

Source: https://habr.com/ru/post/1437611/


All Articles