Checklist: Creating a Legacy Language Service

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Checklist: Creating a Legacy Language Service.

The following checklist summarizes the basic steps you must take in order to create a language service for the Visual Studio core editor. To integrate your language service into Visual Studio, you must create a debug expression evaluator. For more information, see Writing a CLR Expression Evaluator in the Visual Studio Debugger Extensibility.

  1. Implement the IVsPackage interface.

    • In your VSPackage, implement the IServiceProvider interface to provide the language service.

    • Make your language service available to the integrated development environment (IDE) in your SetSite implementation.

  2. Implement the IVsLanguageInfo interface in the main language service class.

    The IVsLanguageInfo interface is the starting point of interaction between the core editor and the language service.

Optional Features

The following features are optional and can be implemented in any order. These features increase the functionality of your language service.

Provide all user context by implementing the IVsLanguageContextProvider interface.

Developing a Legacy Language Service
Writing a CLR Expression Evaluator

Show: