We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4de4ac7 commit 6a30ba0Copy full SHA for 6a30ba0
src/PowerShellEditorServices.Protocol/Server/LanguageServerSettings.cs
@@ -93,6 +93,13 @@ public void Update(
93
}
94
95
96
+ public enum CodeFormattingPreset
97
+ {
98
+ Custom,
99
+ OTBS,
100
+ Allman
101
+ }
102
+
103
public class CodeFormattingSettings
104
{
105
/// <summary>
@@ -120,6 +127,7 @@ public CodeFormattingSettings(CodeFormattingSettings codeFormattingSettings)
120
127
121
128
122
129
130
+ public CodeFormattingPreset Preset { get; set; }
123
131
public bool OpenBraceOnSameLine { get; set; }
124
132
public bool NewLineAfterOpenBrace { get; set; }
125
133
public bool NewLineAfterCloseBrace { get; set; }
0 commit comments