How do I show reference count in Visual Studio Code?

前端 未结 5 925
无人及你
无人及你 2021-02-02 07:47

I want to show references count in Visual Studio Code. How can I do it?

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-02 08:29

    This feature is called CodeLens.

    In Visual Studio find it in menu OptionsText EditorAll languagesCodeLens.

    And in Visual Studio Code it is in menu FilePreferencesSettings → "editor.codeLens": true

提交回复
热议问题