Skip to content

Commit 669cbca

Browse files
author
Kapil Borle
committed
Remove codeformatting.indentationSize setting
1 parent 631c508 commit 669cbca

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,6 @@
280280
"type":"boolean",
281281
"default": true,
282282
"description": "A new line must follow an open brace."
283-
},
284-
"powershell.codeformatting.indentationSize":{
285-
"type":"number",
286-
"default": 4,
287-
"description": "The indentation size in number of Space characters."
288283
}
289284
}
290285
}

src/settings.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ import vscode = require('vscode');
99
export interface ICodeFormattingSettings {
1010
openBraceOnSameLine: boolean;
1111
newLineAfterOpenBrace: boolean;
12-
indentationSize: number;
1312
}
1413

1514
export interface IScriptAnalysisSettings {
16-
enable?: boolean
17-
settingsPath: string
15+
enable?: boolean;
16+
settingsPath: string;
1817
}
1918

2019
export interface IDeveloperSettings {
@@ -49,8 +48,7 @@ export function load(myPluginId: string): ISettings {
4948

5049
let defaultCodeFormattingSettings: ICodeFormattingSettings = {
5150
openBraceOnSameLine: true,
52-
newLineAfterOpenBrace: true,
53-
indentationSize: 4
51+
newLineAfterOpenBrace: true
5452
};
5553

5654
return {

0 commit comments

Comments
 (0)