Compartilhar via


Checklist: Creating a 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 Common Language Runtime 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.

Provide all user context by implementing the IVsLanguageContextProvider interface.

See Also

Other Resources

Developing a Language Service

Writing a Common Language Runtime Expression Evaluator