次の方法で共有


Options, Text Editor, F#, CodeLens

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

Use the CodeLens options page to modify the text editor CodeLens settings for F#. To access this options page, choose Tools > Options, and then choose Text Editor > F# > CodeLens.

CodeLens

  • Enable CodeLens (Experimental)

    When this option is selected, interactive annotations appear in the code that let you easily find references and changes to your code, linked bugs, work items, code reviews, and unit tests.

  • Use colors in annotations

    Select this check box to display the CodeLens annotations in color to easily differentiate the items CodeLens reports.

  • Show annotations to the right instead of above the line

    By default, CodeLens annotations appear over a code line. Select this check box to have the annotations appear to the right of the code instead of above it.

  • Annotation prefix

    You can change the default prefix that is used for the annotations.

See also