Partager via


Implementing a legacy language service 1

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

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.

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.

In This Section

An overview of the language service features that are supported in MPF.

Describes what is required to implement a language service by using MPF.

Describes the steps that are required to register an MPF-based language service with Visual Studio.

Describes the two parsers that are required to implement all the features of a language service by using the MPF.

Provides the basic steps that are required to implement an MPF language service in a VSPackage.

Demonstrates the techniques of retrieving a list of installed code snippets.

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