Skip to content

Instantly share code, notes, and snippets.

@gsscoder
Last active June 12, 2020 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gsscoder/b6dd89f5d1d0857390b861ffcae1f7c0 to your computer and use it in GitHub Desktop.
Save gsscoder/b6dd89f5d1d0857390b861ffcae1f7c0 to your computer and use it in GitHub Desktop.
Settings to switch codeLens on/off with toggle
// extension: marketplace.visualstudio.com/items?itemName=rebornix.toggle
// usage: add to keybindings.json
// note: use 'ctrl+alt+l' for Windows
[
{
"key": "cmd+alt+l",
"command": "toggle",
"when": "editorTextFocus",
"args": {
"id": "codeLens",
"value": [
{
"editor.codeLens": true
},
{
"editor.codeLens": false
}
]
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment