Install-VSCode doesn't support "Stable-User" BuildEdition
See original GitHub issueThe BuildEdition parameter of the Install-VSCode.ps1 script should support the “Stable-User” option - it currently only allows “Stable”, which results in an install of "Stable-System.
If a user wants to install the Insiders version of VS Code, they have the option of specifying “Insider-System” or “Insider-User”. However, there is only one option if selecting the “Stable” version.
Proposed technical implementation details (optional) Add “Stable-User” to the ValidateSet check for the BuildEdition parameter. With the necessary changes to code to support the additional option. This creates an inconsistency between naming conventions for Stable and Insider editions - not sure what, if anything, should be done to address.
- Option 1 Keep “Stable” and simply add “Stable-User”.
[parameter()]
[ValidateSet("Stable", "Stable-User", "Insider-System", "Insider-User")]
[string]$BuildEdition = "Stable",
- Option 2 Rename “Stable” to “Stable-System” in addition to adding “Stable-User”.
[parameter()]
[ValidateSet("Stable-System", "Stable-User", "Insider-System", "Insider-User")]
[string]$BuildEdition = "Stable-System",
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
vscode-powershell/Install-VSCode.ps1 at main - GitHub
Provides PowerShell language and debugging support for Visual Studio Code - vscode-powershell/Install-VSCode.ps1 at main · PowerShell/vscode-powershell.
Read more >Install-VSCode.ps1 1.4.2 - PowerShell Gallery
A validated string defining which build edition or "stream" to download: Stable or Insiders Edition (system install or user profile install). If the...
Read more >https://raw.githubusercontent.com/PowerShell/vscod...
SYNOPSIS Installs Visual Studio Code, the PowerShell extension, and optionally a ... 'Stable-User', 'Insider-System', 'Insider-User')] [string]$BuildEdition ...
Read more >June 2018 (version 1.25) - Visual Studio Code
VS Code now supports Portable Mode, where all data created and maintained by VS Code is located near the installation. This lets you...
Read more >Visual Studio Code (VS Code) Extension for Zowe - Zowe Docs
Use the following steps to install Zowe Explorer: Address the software requirements. Open Visual Studio Code, and navigate to the Extensions tab ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, ghvanderweg. I’d like to take as well. Planning on using it as a demo on contributing to PowerShell/open source.
It took too long for me to get approval. Thanks to @Lothindir for fixing.