How do I show reference count in Visual Studio Code?

前端 未结 5 1094
无人及你
无人及你 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:08

    Visual Studio Code version 1.28.2:

    You need to add this to User Settings:

    Menu FilePreferencesSettings:

    "typescript.referencesCodeLens.enabled": true,
    

提交回复
热议问题