Skip to content

Commit d8e76fb

Browse files
bergmeisterTylerLeonhardt
authored andcommitted
add UseCorrectCasing (#845)
1 parent f3d32cd commit d8e76fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/PowerShellEditorServices.Protocol/Server/LanguageServerSettings.cs

+4
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ public CodeFormattingSettings(CodeFormattingSettings codeFormattingSettings)
178178
public bool WhitespaceAfterSeparator { get; set; }
179179
public bool IgnoreOneLineBlock { get; set; }
180180
public bool AlignPropertyValuePairs { get; set; }
181+
public bool UseCorrectCasing { get; set; }
181182

182183

183184
/// <summary>
@@ -260,6 +261,9 @@ private Hashtable GetCustomPSSASettingsHashtable(int tabSize, bool insertSpaces)
260261
{"Enable", true},
261262
{"CheckHashtable", AlignPropertyValuePairs}
262263
}},
264+
{"PSUseCorrectCasing", new Hashtable {
265+
{"Enable", true}
266+
}},
263267
}}
264268
};
265269
}

0 commit comments

Comments
 (0)