@@ -33,8 +33,8 @@ export interface IBugReportingSettings {
33
33
}
34
34
35
35
export interface ICodeFoldingSettings {
36
- enable ? : boolean ;
37
- showLastLine ? : boolean ;
36
+ enable : boolean ;
37
+ showLastLine : boolean ;
38
38
}
39
39
40
40
export interface ICodeFormattingSettings {
@@ -60,46 +60,46 @@ export interface ICodeFormattingSettings {
60
60
}
61
61
62
62
export interface IScriptAnalysisSettings {
63
- enable ? : boolean ;
63
+ enable : boolean ;
64
64
settingsPath : string ;
65
65
}
66
66
67
67
export interface IDebuggingSettings {
68
- createTemporaryIntegratedConsole ? : boolean ;
68
+ createTemporaryIntegratedConsole : boolean ;
69
69
}
70
70
71
71
export interface IDeveloperSettings {
72
- featureFlags ? : string [ ] ;
72
+ featureFlags : string [ ] ;
73
73
bundledModulesPath : string ;
74
74
editorServicesLogLevel : string ;
75
- editorServicesWaitForDebugger ? : boolean ;
75
+ editorServicesWaitForDebugger : boolean ;
76
76
waitForSessionFileTimeoutSeconds : number ;
77
77
}
78
78
79
79
export interface ISettings {
80
- powerShellAdditionalExePaths ? : IPowerShellAdditionalExePathSettings ;
81
- powerShellDefaultVersion ? : string ;
80
+ powerShellAdditionalExePaths : IPowerShellAdditionalExePathSettings | undefined ;
81
+ powerShellDefaultVersion : string | undefined ;
82
82
// This setting is no longer used but is here to assist in cleaning up the users settings.
83
- powerShellExePath ? : string ;
84
- promptToUpdatePowerShell ? : boolean ;
83
+ powerShellExePath : string | undefined ;
84
+ promptToUpdatePowerShell : boolean ;
85
85
bundledModulesPath : string ;
86
86
startAsLoginShell : IStartAsLoginShellSettings ;
87
- startAutomatically ? : boolean ;
87
+ startAutomatically : boolean ;
88
88
enableProfileLoading : boolean ;
89
89
helpCompletion : string ;
90
- scriptAnalysis ? : IScriptAnalysisSettings ;
90
+ scriptAnalysis : IScriptAnalysisSettings ;
91
91
debugging : IDebuggingSettings ;
92
92
developer : IDeveloperSettings ;
93
- codeFolding ? : ICodeFoldingSettings ;
94
- codeFormatting ? : ICodeFormattingSettings ;
93
+ codeFolding : ICodeFoldingSettings ;
94
+ codeFormatting : ICodeFormattingSettings ;
95
95
integratedConsole : IIntegratedConsoleSettings ;
96
96
bugReporting : IBugReportingSettings ;
97
97
sideBar : ISideBarSettings ;
98
98
pester : IPesterSettings ;
99
- buttons ? : IButtonSettings ;
100
- cwd ? : string ;
101
- enableReferencesCodeLens ? : boolean ;
102
- analyzeOpenDocumentsOnly ? : boolean ;
99
+ buttons : IButtonSettings ;
100
+ cwd : string | undefined ;
101
+ enableReferencesCodeLens : boolean ;
102
+ analyzeOpenDocumentsOnly : boolean ;
103
103
}
104
104
105
105
export interface IStartAsLoginShellSettings {
@@ -108,12 +108,12 @@ export interface IStartAsLoginShellSettings {
108
108
}
109
109
110
110
export interface IIntegratedConsoleSettings {
111
- showOnStartup ? : boolean ;
112
- startInBackground ? : boolean ;
111
+ showOnStartup : boolean ;
112
+ startInBackground : boolean ;
113
113
focusConsoleOnExecute : boolean ;
114
- useLegacyReadLine ? : boolean ;
115
- forceClearScrollbackBuffer ? : boolean ;
116
- suppressStartupBanner ? : boolean ;
114
+ useLegacyReadLine : boolean ;
115
+ forceClearScrollbackBuffer : boolean ;
116
+ suppressStartupBanner : boolean ;
117
117
}
118
118
119
119
export interface ISideBarSettings {
@@ -127,8 +127,8 @@ export interface IPesterSettings {
127
127
}
128
128
129
129
export interface IButtonSettings {
130
- showRunButtons ? : boolean ;
131
- showPanelMovementButtons ? : boolean ;
130
+ showRunButtons : boolean ;
131
+ showPanelMovementButtons : boolean ;
132
132
}
133
133
134
134
// TODO: This could probably be async, and call `validateCwdSetting()` directly.
@@ -197,6 +197,7 @@ export function load(): ISettings {
197
197
focusConsoleOnExecute : true ,
198
198
useLegacyReadLine : false ,
199
199
forceClearScrollbackBuffer : false ,
200
+ suppressStartupBanner : false ,
200
201
} ;
201
202
202
203
const defaultSideBarSettings : ISideBarSettings = {
0 commit comments