Is it possible to add items to Visual Studio Intel

2019-02-22 07:34发布

问题:

I've found examples of how to implement full IntelliSense™ providers for specific file-types in VS2010, like for Ruby or Python or whatever. What I want to do is hook into the existing IntelliSense™ for C# or VB.NET and add additional items into the list that is already generated by Visual Studio. (Basically, I want to inject database-driven items into the IntelliSense™ for Simple.Data objects.)

Is this actually possible, and if so, how do I go about it?

回答1:

Look at:

XML Editor IntelliSense Features and where to put the new schema for intellisense: Schema Cache

To answer the comment:

I just found this on stackoverflow: How do i implement intellisense for my language in visual studio?

Here is someone that implemented ADT support (android dev in Visual Studio). Maybe you can get some ideas from it:

VS ADT