I want to show references count in Visual Studio Code. How can I do it?
The Find All References command is available on the context (right-click) menu of the element you want to find references to. Or, if you are a keyboard user, press Shift + F12.
Go to File > Preferences > Settings. Under drop-down Text Editor , search for Code Lens and disable it.
In VS2010 there is a in-built tool that counts all lines of code and other values too: Go to View -> Other Windows -> Code metrics results.
Just press the settings icon at the bottom left of your screen. A new tab opens in the editor. Go to workbench then appearance and find the status bar and check the visibility box. Show activity on this post.
This feature is called CodeLens.
In Visual Studio find it in menu Options → Text Editor → All languages → CodeLens.
And in Visual Studio Code it is in menu File → Preferences → Settings → "editor.codeLens": true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With