Intellisense help
-
Don't know if this is intellisense per se, but when calling a function from within the same class you can type "(" or "," and that tooltip box pops up with the parameter list. Is there anyway to get summary info to display in there? Example: The tooltip might show " int MyFunction(int,int) ". I guess I'm looking to see something like " int MyFunction(int MaxValue,int MinValue) ". Thanks.
-
Don't know if this is intellisense per se, but when calling a function from within the same class you can type "(" or "," and that tooltip box pops up with the parameter list. Is there anyway to get summary info to display in there? Example: The tooltip might show " int MyFunction(int,int) ". I guess I'm looking to see something like " int MyFunction(int MaxValue,int MinValue) ". Thanks.
Hi, that would need structured comments; here is a C# example:
/// <summary>
/// log a single line of text, without any formatting.
/// </summary>
/// <param name="logLevel"></param>
/// <param name="s"></param>
void logUnformatted(int logLevel, string s) {...}:)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
Hi, that would need structured comments; here is a C# example:
/// <summary>
/// log a single line of text, without any formatting.
/// </summary>
/// <param name="logLevel"></param>
/// <param name="s"></param>
void logUnformatted(int logLevel, string s) {...}:)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
Thanks, But I've been trying that in C++ with no luck. According to some posts it looks like this only 'works' in C#. Anyone know if this is still true? I'm using VS 2008, hard to believe the ability is not there. Even as is, the xml tags show up in intellisense and nothing has changed in the tooltip.
-
Thanks, But I've been trying that in C++ with no luck. According to some posts it looks like this only 'works' in C#. Anyone know if this is still true? I'm using VS 2008, hard to believe the ability is not there. Even as is, the xml tags show up in intellisense and nothing has changed in the tooltip.
Hi, it works for me in C# and IIRC also in VB.NET Don't know about managed C++, I suggest you look it up in the documentation. BTW: there was a recent lounge discussion stating VS2010 did not yet offer Intellisense AT ALL for managed C++ ... :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
Don't know if this is intellisense per se, but when calling a function from within the same class you can type "(" or "," and that tooltip box pops up with the parameter list. Is there anyway to get summary info to display in there? Example: The tooltip might show " int MyFunction(int,int) ". I guess I'm looking to see something like " int MyFunction(int MaxValue,int MinValue) ". Thanks.