@@ -6,6 +6,14 @@ import utils = require("./utils");
6
6
import os = require( "os" ) ;
7
7
import { Logger } from "./logging" ;
8
8
9
+ // TODO: Quite a few of these settings are unused in the client and instead
10
+ // exist just for the server. Those settings do not need to be represented in
11
+ // this class, as the LSP layers take care of communicating them. Frankly, this
12
+ // class is over-engineered and seems to have originally been created to avoid
13
+ // using vscode.workspace.getConfiguration() directly. It wasn't a bad idea to
14
+ // keep things organized so consistent...but it ended up failing in execution.
15
+ // Perhaps we just get rid of this entirely?
16
+
9
17
// eslint-disable-next-line @typescript-eslint/no-extraneous-class
10
18
class PartialSettings { }
11
19
@@ -22,7 +30,6 @@ export class Settings extends PartialSettings {
22
30
scriptAnalysis = new ScriptAnalysisSettings ( ) ;
23
31
debugging = new DebuggingSettings ( ) ;
24
32
developer = new DeveloperSettings ( ) ;
25
- codeFolding = new CodeFoldingSettings ( ) ;
26
33
codeFormatting = new CodeFormattingSettings ( ) ;
27
34
integratedConsole = new IntegratedConsoleSettings ( ) ;
28
35
sideBar = new SideBarSettings ( ) ;
@@ -65,11 +72,6 @@ export enum CommentType {
65
72
66
73
export type PowerShellAdditionalExePathSettings = Record < string , string > ;
67
74
68
- class CodeFoldingSettings extends PartialSettings {
69
- enable = true ;
70
- showLastLine = true ;
71
- }
72
-
73
75
class CodeFormattingSettings extends PartialSettings {
74
76
autoCorrectAliases = false ;
75
77
avoidSemicolonsAsLineTerminators = false ;
0 commit comments