You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't figure out how to disable code lens by default. show_code_lens setting has documentation that only allows annotation and phantom values. If I toggle code lens, it sets window settings variable show_code_lens to False. If I set config show_code_lens to False, this has no effect.
To Reproduce
Steps to reproduce the behavior:
Add "show_code_lens": false to your LSP.sublime-settings file
Open a new project with a LSP server set up
Observe code lens appearing
Expected behavior
No code lens showing. I expect to have an ability to disable code lens by default while still retaining the setting of code lens appearance (annotation/phantom) in case I want to toggle them on.
Environment (please complete the following information):
OS: macOS 12.2
Sublime Text version: 4169
LSP version: v1.28.0
Language servers used: Clojure
The text was updated successfully, but these errors were encountered:
@predragnikolic the provided solution does disable code lens indeed, but this apparently leaves me without ability to toggle them on via LSP: Toggle Code Lenses
Describe the bug
I can't figure out how to disable code lens by default.
show_code_lens
setting has documentation that only allowsannotation
andphantom
values. If I toggle code lens, it sets window settings variableshow_code_lens
to False. If I set configshow_code_lens
to False, this has no effect.To Reproduce
Steps to reproduce the behavior:
"show_code_lens": false
to yourLSP.sublime-settings
fileExpected behavior
No code lens showing. I expect to have an ability to disable code lens by default while still retaining the setting of code lens appearance (annotation/phantom) in case I want to toggle them on.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: