Skip to content

Commit 4c1a861

Browse files
author
Kapil Borle
committed
Create a class to represent editor settings
1 parent 9eb1b11 commit 4c1a861

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/PowerShellEditorServices.Protocol/Server/LanguageServerSettings.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,17 @@ public Hashtable GetPSSASettingsHashTable(int tabSize, bool insertSpaces)
186186
}
187187
}
188188

189+
public class EditorSettings : AbstractSettings
190+
{
191+
public EditorSettings() : base() { }
192+
193+
public EditorSettings(EditorSettings editorSettings) : base (editorSettings) { }
194+
195+
public int TabSize { get; set; }
196+
197+
public bool InsertSpaces { get; set; }
198+
}
199+
189200
public class LanguageServerSettingsWrapper
190201
{
191202
// NOTE: This property is capitalized as 'Powershell' because the

0 commit comments

Comments
 (0)