I was wondering if there it was possible to comment function so it appears in intellisense? like in c# but for c++
Jump to content
GameDev.net Posting Guidelines (please read before posting)
For Beginners Forum FAQs (please read before posting)
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 05 March 2014 - 03:21 PM
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, 05 March 2014 - 05:26 PM.
Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly.
You don't forget how to play when you grow old; you grow old when you forget how to play.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.