Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have some requirements in making the intellisense customizable. Is it possible?

I want to add a custom item into the drop down that gets triggered when '.' is pressed. Also any information regarding code completion would be very much appreciated.

Basically, i'm looking for something like " A double TAB press after typing "for" would generate the following code:


for (int i = 0; i < length; i++)
{

}.

;

Can we have custom items to insert different code snippets as above?

Thanks in advance!



Regards,

Karthik Bhat
Posted
Comments
johannesnestler 30-Jul-15 8:49am    
just create a snippet...

1 solution

We create our own code snippets in the company....:
https://msdn.microsoft.com/en-us/library/ms165392.aspx[^]

Create snippet:
https://msdn.microsoft.com/en-us/library/ms165394.aspx[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900