Closed rwols closed 3 years ago
this was the default value not sure, lemme check
Doesn't seem to be a reason.
"rust-analyzer.debug.sourceFileMap": {
"const": "auto",
"default": {
"/rustc/<id>": "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust"
},
"description": "Optional source file mappings passed to the debug engine.",
"type": [
"object",
"string"
]
},
Thats the schema. The type is object or string.
But const
ensures that only that value is allowed. See https://json-schema.org/understanding-json-schema/reference/generic.html#constant-values
Not sure what's the reason it's there but removing it should be fine.
I'll remove the const 👍🏽
I'm seeing this warning from LSP-json:
Is sublime-package.json incorrect or is the default value incorrect?