Can I proxy an existing Visual Studio LanguageService?

I would like to extend Visual Studio Parsing in C ++ with additional information computed by the user extension I am writing. To save me from having to write a complete IScanner for my LanguageService , I thought I would ask for the LanguageService responsible for C ++ scanning and just a proxy server.

My searches so far have only indicated the completion of the refinancing of the LanguageService , using, for example. ANTLR or custom scanners. I tried using System.Reflection from my Visual Studio application, but it did not show me any classes other than mine.

So, any idea how I can get a copy of LanguageService , who understands C ++?

+4
source share
1 answer

As far as I know, the C ++ LanguageService proxy server (or any other lagnguage service) is impossible, since it does not have an architecture to have extensibility points. That way, you could only reimplement it from scratch (which would be a very difficult task). The goal of a language service in Visual Studio is to provide language support for editing source code in the IDE. Are you sure you need a language service? What level do you work at?

Regarding getting Visual Studio services, you can take a look at this good article " LearnVSXNow! # 26 - Services - with initialization without code code "

0
source

All Articles