r/VisualStudioCode • • Oct 30 '23

How do I toggle Code Lens on/off

The title basically says it all. I want to know if there's a way to make Code Lens togglable, since most of the times I want to purely see the code, but sometimes I want to use Code Lens as well, and sometimes I want to turn it on/off without always having to go into the user Settings. Is there any way to set a keybind or something like that to toggle Code Lens? Thanks a lot in advance.

1 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/new_by_list Nov 23 '24

Oh thank you very much! I‘m gonna look into when I have time