For Programmers: Free Programming Magazines  


Home > Archive > C# > September 2005 > Intelisense question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Intelisense question
Adam

2005-09-05, 7:14 pm

Hey Guys,

What I’m trying to do is find out how to put those nifty descriptions in
the intelisense popups.
What I mean is, you know when your using intelisens in VS after you type
the period the list of available methods, properties and objects is listed.
When you hover your mouse over an item it will pop up with the
parameters requires along with a brief description of what it does.
Is there a way for me to code that into my class library, so when I
reference it from another project I can use intelisens this way.

Any help or input would be greatly appreciated

- Adam
Jan Bannister

2005-09-07, 6:59 pm

A couple of steps:
1. Add XML documentation to your functions, just press slash 3 times at
the top of a function definition to get a skeleton
2. Set the Xml Documentation File to "MyAssembly.xml" in project
Settings (somewhere :P ) if your using VS.Net or /doc: if your a cmd
kid.
3. When you deploy, or use MyAssembly.dll make sure MyAssembly.xml is
beside it and your descriptions will appear.

Hope that helps,
Jan

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com