Option to disable code lens reference counter to reduce screen clutter
llarrythellama opened this issue · comments
Is your feature request related to a problem? Please describe.
The blue reference count links on the right side of the screen (in annotation mode) are very distracting to me.
Describe the solution you'd like
I'd love an option to just turn them off entirely.
Describe alternatives you've considered
An additional "" option for "show_code_lens" (in addition to "annotation" and "phantom") that just turns off all code lens features would also work.
Open the LSP-*.sublime-settings file for the LSP-* package that you use and put:
// Settings in here override those in "LSP-typescript/LSP-typescript.sublime-settings"
{
"disabled_capabilities": {
"codeLensProvider": true
},
//...
}
That will disable code lense for that LSP-* package.
You can also toggle code lense per Sublime Text window:
- From the main ST menu select
View > LSP: Show Code Lenses
- Or run
LSP: Toggle Code Lenses
from the command palette
And for completeness... some servers also provide their own option to disable code lenses. (not sure which server is being used in this case)