You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added a configuration option that's a boolean to my packages.json:
"configuration": {
"type": "object",
"title": "Dart Configuration",
"properties": {
"dart.setIndentSettings": {
"type": "boolean",
"default": true,
"description": "Forces indenting with two spaces when Dart files are opened. This is on by default because VS Code doesn't support per-language settings and most people use tabs/4 spaces for other languages."
}
}
}
When I come to read it with config.get<boolean>("setIndentSettings") it comes back as undefined, yet config.get("setIndentSettings") returns false!
From my debug console:
$ config.get<boolean>("setIndentSettings")
not available
$ config.get("setIndentSettings")
false
$ typeof config.get("setIndentSettings")
"boolean"
The text was updated successfully, but these errors were encountered:
Added a configuration option that's a boolean to my
packages.json
:When I come to read it with
config.get<boolean>("setIndentSettings")
it comes back as undefined, yetconfig.get("setIndentSettings")
returns false!From my debug console:
The text was updated successfully, but these errors were encountered: