• Advertisement
Sign in to follow this  

How to comment for IntelliSense?

This topic is 1419 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement

If you mean functions and variables in your own code - yep. Just add comments preceding the [declarations]. (for VS2013 Express, anyway)

// Here's how I use this function.
// blah-blah-blah
void MyFunction();
// this variable is used for anything you want
void useForAnyThing;

EDIT: Oops. Not definition - declaration. Changed that above.

 

When you mouseover MyFunction or useForAnything in your code, the comments should popup.

 

Works with bounded (rather than single line) comments also.

/*
This is a rather extensive
explanation for how to use this function.
Be sure to do such-and-such
And don't forget this-and-that
*/
void MyFunction();
Edited by Buckeye

Share this post


Link to post
Share on other sites

oh vs2013, well time to upgrade. Thanks 

P.S

anyway to make this work for 2010?

Edited by Conny14156

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement