Skip to content

Commit f9f7346

Browse files
authored
Fix: Implement Interface emits members without indentation when user hasn't specified FSharp.indentationSize (ionide#1730)
* Add default for `Fsharp.indentationSize` Without VSCode sends default `number` (`= 0`) when user hasn't set `indentationSize`. -> causes `Implement interface` to emit members without indentation * Increase min indentation to `1` Indentation of `0` leads to incorrect code
1 parent 85176f2 commit f9f7346

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

release/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -616,9 +616,10 @@
616616
"type": "boolean"
617617
},
618618
"FSharp.indentationSize": {
619+
"default": 4,
620+
"minimum": 1,
619621
"description": "The number of spaces used for indentation when generating code, e.g. for interface stubs",
620-
"type": "number",
621-
"minimum": 0
622+
"type": "number"
622623
},
623624
"FSharp.infoPanelReplaceHover": {
624625
"default": false,

0 commit comments

Comments
 (0)