This extension brings support for Chocolatey to Visual Studio Code.
- What is Chocolatey?
- Commands
- Snippets
- Dependencies
- Resources
- Installation
- Documentation
- Thanks
- Contributing
- Releases
Chocolatey is a Package Manager for Windows, which allows the automation of all your software needs.
For more information about Chocolatey, please see the Chocolatey Website or the Chocolatey source code repository.
The Chocolatey Visual Studio Code Extension provides the following commands:
Chocolatey: Create new Chocolatey package
to create the default templated Chocolatey package at the root of current workspace.Chocolatey: Pack Chocolatey package(s)
to search current workspace for nuspec files and package themChocolatey: Delete Chocolatey package(s)
to search current workspace for nupkg files and delete themChocolatey: Push Chocolatey package(s)
to search current workspace for nupkg files and push themChocolatey: Install Template package(s)
to install a list of template packages from a specified source
Chocolatey: Create new Chocolatey package
to create the default templated Chocolatey package in a directory of your choosing.
Snippets are provided for the following Chocolatey Helper Functions:
- Install-ChocolateyPackage
- Uninstall-ChocolateyPackage
To use them, simply open your powershell file, and then type choco
followed by ctrl-space
. This will then show the available snippets...
and then simply arrow up/down to the one you want and press enter, or left mouse click. From there the PowerShell code for the helper function will be generated, and the cursor will be placed ready for you to start filling in the content of function...
The extension takes a dependency on the following extensions:
- PowerShell - since Chocolatey Packaging Scripts are written in PowerShell, this extension helps with the creation/maintenance of those.
- Zip File Explorer - to enable the ability to "view" the contents of the generated
nupkg
files, which are simply fancy zip files.- NOTE This extension will attempt to add the necessary file association to your User Settings, so that
nupkg
files are treated in the same way aszip
files.
- NOTE This extension will attempt to add the necessary file association to your User Settings, so that
Short YouTube videos of each of the releases of this extension can be found in this playlist.
You can either install this extension in the normal way, or you can choose to install using Chocolatey:
choco install chocolatey-vscode
You can find the documentation that is available for this project here.
The execution of the Chocolatey commands in this extension would not have been possible without the amazing work of the Ember CLI VS Code extension, as this was used as the basis for creating this feature in this extension. Huge thanks to Felix Rieseberg.
If you would like to see any other snippet or features added for this VS Code Extension, feel free to raise an issue, and if possible, a follow up pull request.
You can also join in the Gitter Chat
To find out what was released in each version of this extension, check out the releases page.
Thanks goes to these wonderful people (emoji key):
Kim J. Nordmo 💻 📖 🎨 🤔 🚧 📦 👀 🐛 |
Maurice Kevenaar 💻 📖 🎨 🤔 🚧 📦 👀 |
Stephen Valdinger 💻 📖 🤔 |
Martin Björkström 💻 🤔 👀 |
Adam Friedman 🤔 👀 |
Manfred Wallner 📖 |
Gary Ewan Park 💻 📖 🎨 🤔 🚧 📦 👀 🐛 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!