如何在 Visual Studio Code 中禁用 Rust 变量及其方法的下划线?
问题描述:
如何禁用变量及其方法的下划线,如上所示?我觉得这很让人分心.
How do I disable the underlining of variables and their methods, like shown above? I find it quite distracting.
我不认为这与 在 VS Code 中禁用波浪下划线 重复,因为它不是波浪下划线.
I don't think this is a duplicate of Disable wavy underline in VS Code because it's not a wavy underline.
答
{
"editor.semanticTokenColorCustomizations": {
"enabled": true,
"rules": {
"*.mutable": {
"underline": false,
}
}
}
}
通过在 settings.json