How to disable elm tooling references and codelens for vscode editor

Hello, I’m a super duper Elm newbie. Recently added elm-tooling extension to my visual studio code editor and was wondering if there’s any possibility to turn off the references and code lens :slight_smile:

CodeLens at least can be disabled in VSCode with adding "editor.codeLens": false in user settings, check out https://code.visualstudio.com/docs/getstarted/settings

For the references view I am not sure, it looks like there are specific settings for disabling it in Javascript/Typescript, I think the setting would need to be added to https://github.com/elm-tooling/elm-language-client-vscode to allow disabling it.

You should be able to cross the setting with language specific settings https://code.visualstudio.com/docs/getstarted/settings#_language-specific-editor-settings

So something like

[elm]
"editor.codeLens": false

Not sure what exactly you mean by “references”

Thank you it works :))) setting "editor.codeLens" to false also disable the references view

By references I mean this:
Screenshot 2020-01-09 at 10.14.48

But it’s also being disabled when setting editor.codeLens to false. Thank you :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.