Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify and persist PowerShell session configuration changes #881

Merged
merged 1 commit into from
Jun 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,12 @@
"type": "object",
"title": "PowerShell Configuration",
"properties": {
"powershell.powerShellExePath": {
"type": "string",
"default": "",
"isExecutable": true,
"description": "Specifies the full path to a PowerShell executable. Changes the installation of PowerShell used for language and debugging services."
},
"powershell.startAutomatically": {
"type": "boolean",
"default": true,
Expand Down Expand Up @@ -384,7 +390,8 @@
"powershell.developer.powerShellExePath": {
"type": "string",
"default": "",
"description": "Specifies the full path to a PowerShell executable. Changes the installation of PowerShell used for language and debugging services."
"isExecutable": true,
"description": "Deprecated. Please use the 'powershell.powerShellExePath' setting instead"
},
"powershell.developer.powerShellExeIsWindowsDevBuild": {
"type": "boolean",
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export function activate(context: vscode.ExtensionContext): void {

sessionManager.setExtensionFeatures(extensionFeatures);

var extensionSettings = Settings.load(utils.PowerShellLanguageId);
var extensionSettings = Settings.load();
if (extensionSettings.startAutomatically) {
sessionManager.start();
}
Expand Down
Loading