How to remove the reference count in vscode?

If you only need to disable code references for C#, you can do this by using vs code settings or by changing the user settings file.

Editing the settings file: Go to your user settings file which is in following path:
%UserProfile%\AppData\Roaming\Code\User\settings.json
Edit following attribute to false to disable code reference count:
"csharp.referencesCodeLens.enabled": false
Vue.js have this too in the Volar extension, if u want to disable, you can just add this line on your settings.json:
"volar.codeLens.references": false
Or search for it on settings menu instead :)
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