Last active
April 29, 2024 16:08
-
-
Save hickVieira/cf3d1dba30fa296a0da99dbe9d7a737a to your computer and use it in GitHub Desktop.
Allows you to toggle stupid codelens and inlays on off with shift alt d using the "Toggle" plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "shift+alt+d", | |
"command": "toggle", | |
"when": "editorTextFocus", | |
"args": { | |
"id": "codeLens", | |
"value": [ | |
{ | |
"editor.codeLens": true, | |
"rust-analyzer.lens.enable": true, | |
"editor.inlayHints.enabled": "on", | |
}, | |
{ | |
"editor.codeLens": false, | |
"rust-analyzer.lens.enable": false, | |
"editor.inlayHints.enabled": "off", | |
} | |
] | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment