Checklist: Create a legacy language service

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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 Write a CLR expression evaluator in the Visual Studio debugger extensibility.

Steps to create 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