Implementing 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 Implementing a Legacy Language Service1.

You can use classes in the managed package framework (MPF) to implement a legacy language service that supports a wide variety of features, such as syntax highlighting, brace matching, and IntelliSense completion.

Legacy language services are implemented as part of a VSPackage, but the newer way to implement language service features is to use MEF extensions. To find out more about the new way to implement a language service, see Editor and Language Service Extensions.

System_CAPS_ICON_note.jpg Note

We recommend that you begin to use the new editor API as soon as possible. This will improve the performance of your language service and let you take advantage of new editor features.

Legacy Language Service Overview
An overview of the language service features that are supported in MPF.

Implementing a Legacy Language Service
Describes what is required to implement a language service by using MPF.

Registering a Legacy Language Service
Describes the steps that are required to register an MPF-based language service with Visual Studio.

Legacy Language Service Parser and Scanner
Describes the two parsers that are required to implement all the features of a language service by using the MPF.

Walkthrough: Creating a Legacy Language Service
Provides the basic steps that are required to implement an MPF language service in a VSPackage.

Walkthrough: Getting a List of Installed Code Snippets (Legacy Implementation)
Demonstrates the techniques of retrieving a list of installed code snippets.

Legacy Language Service Features
Provides links to topics that detail what must be done to implement all the features of a language service by using MPF.

Show: