Reputation: 8584
How do i input intellisense info on my functions? With C# on VS2010 i just used "///" in front of the function and it made a template automatically. On C++ VS2012 i cant get anything to work.
Upvotes: 0
Views: 97
Reputation: 4581
Check out XMLDoc comments functionality in Visual Studio: http://msdn.microsoft.com/en-US/library/ms177226(v=vs.100).aspx
Upvotes: 2
Reputation: 2435
If you are talking about the documentation of the funcion, you can use an extension like GhostDoc.
Link: http://submain.com/products/ghostdoc.aspx
You can assign a shortcut (by default is ctr + shift + d), and it will automaticly document the function with the template, it will also try to guess what the function does based on its name.
This is an example of ghost doc:
/// <summary>
/// Initialize a complex number with a real and imaginary part.
/// </summary>
/// <param name="real">The real.</param>
/// <param name="imaginary">The imaginary.</param>
public Complex(double real, double imaginary)
{
this.real = real;
this.imaginary = imaginary;
}
Hope it helps.
Upvotes: 3