Outlining and Hidden Text in 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

Outlining makes it possible to collapse a sequence of text lines into a single line. For example, in C++ all methods can be collapsed to a single line, showing only the method signature. Hidden text is the sequence of text lines that can be shown or hidden.

In This Section

Explains how to implement

Explains the purpose of a hidden text region and provides instructions about how to implement a hidden text region.

Explains the two options that extend outlining support for your language beyond supporting the Collapse to Definitions command.