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.
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.