How do I show reference count in Visual Studio Code?

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

    The menu structure ususally changes during years. So in VSCode v.1.43 please follow the next steps:

    1. Click Gear icon and go to Settings

    1. In the "Settings" window in the input field type "reference", click "User" tab, under "Extensions" click "Typescript" and find "Reference Code Lens" checkboxes for javascript/typescript.

    Checking/unchecking checkboxes will automatically apply your changes.

提交回复
热议问题