File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 271
271
"default" : false ,
272
272
"description" : " Launches the language service with the /waitForDebugger flag to force it to wait for a .NET debugger to attach before proceeding."
273
273
},
274
- "powershell.codeformatting .openBraceOnSameLine" :{
274
+ "powershell.codeFormatting .openBraceOnSameLine" :{
275
275
"type" :" boolean" ,
276
276
"default" : true ,
277
277
"description" : " Places open brace on the same line as its associated statement."
278
278
},
279
- "powershell.codeformatting .newLineAfterOpenBrace" :{
279
+ "powershell.codeFormatting .newLineAfterOpenBrace" :{
280
280
"type" :" boolean" ,
281
281
"default" : true ,
282
282
"description" : " A new line must follow an open brace."
Original file line number Diff line number Diff line change @@ -225,8 +225,8 @@ class PSDocumentFormattingEditProvider implements DocumentFormattingEditProvider
225
225
case "PSPlaceOpenBrace" :
226
226
ruleProperty = `${ rule } = @{
227
227
Enable = \$true
228
- OnSameLine = \$${ settings . codeformatting . openBraceOnSameLine }
229
- NewLineAfter = \$${ settings . codeformatting . newLineAfterOpenBrace }
228
+ OnSameLine = \$${ settings . codeFormatting . openBraceOnSameLine }
229
+ NewLineAfter = \$${ settings . codeFormatting . newLineAfterOpenBrace }
230
230
}` ;
231
231
break ;
232
232
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export interface ISettings {
28
28
enableProfileLoading ?: boolean ;
29
29
scriptAnalysis ?: IScriptAnalysisSettings ;
30
30
developer ?: IDeveloperSettings ;
31
- codeformatting ?: ICodeFormattingSettings ;
31
+ codeFormatting ?: ICodeFormattingSettings ;
32
32
}
33
33
34
34
export function load ( myPluginId : string ) : ISettings {
@@ -56,6 +56,6 @@ export function load(myPluginId: string): ISettings {
56
56
enableProfileLoading : configuration . get < boolean > ( "enableProfileLoading" , false ) ,
57
57
scriptAnalysis : configuration . get < IScriptAnalysisSettings > ( "scriptAnalysis" , defaultScriptAnalysisSettings ) ,
58
58
developer : configuration . get < IDeveloperSettings > ( "developer" , defaultDeveloperSettings ) ,
59
- codeformatting : configuration . get < ICodeFormattingSettings > ( "codeformatting " , defaultCodeFormattingSettings )
59
+ codeFormatting : configuration . get < ICodeFormattingSettings > ( "codeFormatting " , defaultCodeFormattingSettings )
60
60
} ;
61
61
}
You can’t perform that action at this time.
0 commit comments