How to disable codelens in VS code?

前端 未结 8 1344
萌比男神i
萌比男神i 2020-12-24 03:53

I\'ve searched but didn\'t find any info on how to disable references (or the codelens completely) in the Visual Studio Code, they\'re quite useless and annoying for me.

8条回答
  •  别那么骄傲
    2020-12-24 04:45

    Step by step:

    1- Press CTRL+SHIFT+P and search for "User Settings", and open settings.json file. This file sits under:

    %UserProfile%\AppData\Roaming\Code\User\settings.json
    

    2- On right panel override setting "editor.codeLens" with "false" value.

提交回复
热议问题