Posts Intellisence help in user-defined functions, properties etc in Visual Studio
Post
Cancel

Intellisence help in user-defined functions, properties etc in Visual Studio

I just went through one of the video which showed how can you enhance intellisence feature in Visual Studio for the user-defined things. 

Let me explain this to you in detail, suppose you have a class containing few functions and properties, When you create an object for that class and access its function all you can see in the intellisence is the name of the function without the description, but when you look at the inbuilt function in any of the inbuilt class you can see the description of that function.

Have you ever thought why so?

This is just because they have commented their code. You can also have your function showing the description of what it does in the intellisence and even pass the description for the parameters. All you have to do is provide a proper comment for your code. That is what a good programmer does. Here is the sample of the comment you must provide,

 

Intellisence Help

Intellisence Help

Here you can see the summary which appears as the description and the parameter list which will show the description for the parameters too. So keep practicing this to be a good programmer although there are various things which you should practice but this is one of them.

This post is licensed under CC BY 4.0 by the author.