My user settings
"[dart]": {
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": false
},
The tabsize work while editing the file but every time I format the document using shortcut the document is formatted using tabsize 2 spaces.
Unfortunately the standard dart formatter that Dart Code uses always uses two spaces and is not configurable:
https://github.com/dart-lang/dart_style
To change this, we'd need a new formatter (or for that one to become customisable, which seems very unlikely, since an explicit goal is to not have options).
I don't think a customisable formatter is an unreasonable request though, so please 馃憤 #914 if you'd like it, so we can get an idea of demand.
Most helpful comment
Unfortunately the standard dart formatter that Dart Code uses always uses two spaces and is not configurable:
https://github.com/dart-lang/dart_style
To change this, we'd need a new formatter (or for that one to become customisable, which seems very unlikely, since an explicit goal is to not have options).
I don't think a customisable formatter is an unreasonable request though, so please 馃憤 #914 if you'd like it, so we can get an idea of demand.