How to Remove References in Visual Studio Code

References allow you to analyze the popularity of your specific function or variable throughout the code file. It provides us with the number of times a particular property is referred to in the code. But, when we include code snippets in the documentation for a presentation, it is desirable to remove the references. This guide will show how to remove references in Visual Studio Code.

Removing References in VS Code

  1. From the “File” menu, select the Preferences option. Then, from the sub-menu, select the Settings option.

    Open the Settings window.
  2. Under Text-Editor, select the Diff Editor option. Then, uncheck Code Lens.

    Code Lens
    Finally, disable the Code Lens feature.

Was this article helpful?

Leave a Comment