LoginSignup
0
0

【VSCode】TypeScriptで関数の参照数を表示する方法

Posted at

settings.jsonに以下の記述を追記するとTypeScriptの仮数の参照するが表示されるようになります。

settings.json
{
  "editor.codeLens": true,
  "typescript.referencesCodeLens.enabled": true
}

スクリーンショット 2024-06-24 20.47.48.png

表示されている参照数をクリックすると以下のように一覧が表示されます。

スクリーンショット 2024-06-24 20.48.27.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0