C ++ Intellisense with descriptions

Hi, is there any kind of IDE or some kind of plugin or some other way that C # Like intellisense for C ++ provides? as not only parameters and overloads, but also a short description, for example: cout: displays a message on ... ;; like in c #.

& thanks!

+4
source share
4 answers

As Mohammad already said, Visual Studio already has the good Intellisense features for C ++.

If it’s not enough for you, you can add plugins for VS that will improve Intellisense (and the whole “coding experience”).

A good plugin that can help you is Visual Assist X , which can be found at wholetomato.com

In particular, you can check out its Intellisense capabilities at http://www.wholetomato.com/products/featureIntellisense.asp

You should also check out another alternative: Eclipse CDT

Hope this helps ...

Tal.

+4
source

Apparently, there is a mechanism for displaying such information , but this requires that the code be documented with comments. Your standard headers (containing cout, etc.) may or may not have such comments in them.

From MSDN:

IntelliSense determines which comment to display in the member list, where it appears in the code:

1: IntelliSense first displays end-of-line comments in the declaration. For instance:

void MyFunction(); //EOL declaration comments 

2: If IntelliSense does not find the previous type of comment, it displays the comments that appear directly above the ad, with no spaces between them. For instance:

 //Before declaration comments void MyFunction(); 

3: If the previous two types of comments are not found in the code, IntelliSense displays the end of line comments in the definition. For instance:

 int CMyAppDoc::MyVariable=2; // EOL definition comments 

4: Finally, if none of the previous comment types appears in the code, IntelliSense displays the comments that appear directly above the definition, with no spaces between them. For instance:

 //Before definition comments CMyAppDoc::MyFunction() { return; } 
+7
source

By default, Visual Studio will show you any comments that you put above the method ... when you use intellisense. For instance:

 // Test doc void test() { } 

VS will show you "Test doc" when the autocomplete window is open.

+1
source

C ++ is not as easy to parse as C #, so Intellisense for C ++ will always be very limited (if it makes you happier, other IDEs will not be better in this).

-1
source

All Articles