Skip to content

Commit e3566f1

Browse files
bergmeisterTylerLeonhardt
authored andcommitted
add UseCorrectCasing (#845)
1 parent 0d3fe1c commit e3566f1

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
@@ -200,6 +200,7 @@ public CodeFormattingSettings(CodeFormattingSettings codeFormattingSettings)
200200
public bool WhitespaceAfterSeparator { get; set; }
201201
public bool IgnoreOneLineBlock { get; set; }
202202
public bool AlignPropertyValuePairs { get; set; }
203+
public bool UseCorrectCasing { get; set; }
203204

204205

205206
/// <summary>
@@ -283,6 +284,9 @@ private Hashtable GetCustomPSSASettingsHashtable(int tabSize, bool insertSpaces)
283284
{"Enable", true},
284285
{"CheckHashtable", AlignPropertyValuePairs}
285286
}},
287+
{"PSUseCorrectCasing", new Hashtable {
288+
{"Enable", true}
289+
}},
286290
}}
287291
};
288292
}

0 commit comments

Comments
 (0)