You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add settings to disable automatic loading of extension and console
This change adds two new settings to control the automatic loading of the
PowerShell extension and integrated console:
- `powershell.startAutomatically`
- `powershell.integratedConsole.showOnStartup`
Both of which default to `true`.
Resolves#580.
Copy file name to clipboardExpand all lines: package.json
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -305,6 +305,11 @@
305
305
"type": "object",
306
306
"title": "PowerShell Configuration",
307
307
"properties": {
308
+
"powershell.startAutomatically": {
309
+
"type": "boolean",
310
+
"default": true,
311
+
"description": "If true, causes PowerShell extension features to start automatically when a PowerShell file is opened. If false, the user must initiate startup using the 'PowerShell: Restart Current Session' command. IntelliSense, code navigation, integrated console, code formatting, and other features will not be enabled until the extension has been started."
312
+
},
308
313
"powershell.useX86Host": {
309
314
"type": "boolean",
310
315
"default": false,
@@ -393,6 +398,11 @@
393
398
"type": "boolean",
394
399
"default": true,
395
400
"description": "Ignore blocks of code on one line. For example, if true, the braces in \"if (...) {...} else {...}\", will not be formatted."
401
+
},
402
+
"powershell.integratedConsole.showOnStartup": {
403
+
"type": "boolean",
404
+
"default": true,
405
+
"description": "If true, causes the integrated console to be shown automatically when the PowerShell extension is initialized."
0 commit comments