How to disable References for JavaScript files from Visual Studio 2022 IDE?

AG 521 Reputation points
2023-09-11T07:11:21.0266667+00:00

With Visual Studio 2022 17.7.3 inside a JavaScript file, as long as I scroll the code References is keep showing and moving my code lines. as this option is very annoying I would like to disable it, how to please?

references

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Anna Xiu-MSFT 31,156 Reputation points Microsoft External Staff
    2023-09-11T09:37:34.33+00:00

    Hi @AG, 

    Welcome to Microsoft Q&A! 

    Please go to Tools menu > Options > Text Editor > All Languages > CodeLens > uncheck “Show JavaScript/TypeScript References” > OK.

    User's image

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

     


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.