Open glennsarti opened 8 years ago
Great idea! Something you will provide a PR for sir?
That is my plan yes. Assuming my thinking and method of achieving it is ok.
@glennsarti NOICE!
Not sure if adding a CmdLet for installing a Visual Studio Code really makes sense, since it actually anyway is only a single line command:
code --install-extension myextension
Contrary to Vsix installations where a download is involved, is this here all handled by Visual Studio Code.
See eg. vscode-csharp for an example how a Visual Studio Code Extension can be installed.
@pascalberger I've been seeing that. @gep13 and I were looking at these yesterday. Very slick!
I'm happy to close this off.
As of Visual Studio Code 1.2 it is possible to manage visual code extension installations using code.exe An example DSC resource has been created to do just this;
http://www.powershellmagazine.com/2016/06/08/build-your-visual-studio-code-development-environment-using-powershell-dsc/
https://code.visualstudio.com/Updates#_extension-authoring
My feature request is to create something similar to the Visual Studio (VSIX) extension in Choco.exe but manage Visual Studio Code extensions
Phase 1 - Add a new helper function e.g. Install-ChocolateyVSCodeExtension https://github.com/chocolatey/choco/blob/1889f7e87c902174e31f4ae855e03be149f0a340/src/chocolatey.resources/helpers/functions/Install-ChocolateyVsixPackage.ps1
This will install a VS Code Extension
Phase 2 - VS Code also has the ability to list installed extensions. This could be integrated into the choco.exe list command to show currently installed extensions. And extend choco search to query the VSCode marketplace.
Happy for this to be an up-for-grabs item hint hint