Closed
Description
VS Code stable 1.44.0 + rust-analyzer: nightly (080c983) 2020-04-08
Steps to reproduce
- Open VS code with some Rust project
- In settings.json add:
"editor.tokenColorCustomizationsExperimental": {
"*.mutable": {
"fontStyle": "underline"
}
},
"rust-analyzer.updates.channel": "nightly"
-
Install whatever is required from rust analyzer. Wait for inlay hints to show up.
They show up OK:
-
Open Settings, add the below and save:
"rust-analyzer.inlayHints.parameterHints": false
Observed:
parameter inlay hints stay incorrectly
Expected:
parameter inlay hints disappear
Notes
-
Update some unrelated settings e.g. change the
underline
fontStyle to 'bold' and save settings, inlay hints will pick up.
-
Very confusing issue especially if settings updated through UI checkboxes (Ctrl+,)
VS Code:
Version: 1.44.0 (user setup)
Commit: 2aae1f26c72891c399f860409176fe435a154b13
Date: 2020-04-07T23:31:18.860Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
Metadata
Metadata
Assignees
Labels
No labels