Compartilhar via


Checklist: Creating a Legacy Language Service

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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.

Steps for Creating a Language Service

  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.

See Also

Developing a Legacy Language Service
Writing a CLR Expression Evaluator