Video - Rust Tip - Customize Mutable Colors in VSCode
In the settings.json
add the following:
"editor.semanticTokenColorCustomizations": {
"enabled": true,
"rules": {
"*.mutable": {
"underline": false,
"foreground": "#d9bbfc"
}
}
},
Note: If you already have one or more
"editor.semanticTokenColorCustomizations"
rules already, just add the rule above.
edit: 2023-11-21
- Install Toggle inlays with Toggle: https://marketplace.visualstudio.com/items?itemName=rebornix.toggle
{
"key": "cmd+u",
"command": "toggle",
"when": "editorTextFocus",
"args": {
"id": "toggle_inlay_hints",
"value": [
{
"editor.inlayHints.enabled": "on"
},
{
"editor.inlayHints.enabled": "off"
}
]
}
}
Not sure that this works anymore. Can you confirm?