How to show reference count in Visual Studio Code
While the developing, especially while the code cleaning, you often want to know if your method is used or not. It’s usually when you make some temporary methods to determine the optimal one. Visual Studio shows the reference count by default, but Visual Studio Code doesn’t do that. But it’s very useful. Here is how to turn it on.
This feature is called ‘codelens’. I turn it on only for the specific languages, for example. TypeScript.
Open menu File > Preferences > Settings, in the search panel enter ‘codelense’ and check the specific checkboxes. I wanted to use codelense only for TypeScript and I did it only for it. It’s better to make it in both tabs – User and Workspace. Then restart VS code.


Login as another user in SharePoint 2019 on-premises site in Chrome
Set limited Wi-Fi connection within command line in Windows
A sticker problem with the fan in HP laptop