Shadowenv for Visual Studio Code
This extension adds support for Shadowenv to VS Code, including:
- Auto-load the environment if the directory is trusted
- Prompt to trust the directory if not already trusted
- Auto-detect creation, change, and deletion of Shadowlisp, reloading the environment.
Prerequisites
This extension needs Shadowenv installed to work. Please see the Shadowenv
documentation for more details.
Install
Via Quick Open:
- Download, install and open VS Code
- Press
cmd+p to open the Quick Open dialog
- Type
ext install shadowenv
- Click the Install button, then the Enable button
Via the Extensions tab:
- Click the extensions tab or press
cmd+shift+x
- Search for shadowenv
- Click the Install button, then the Enable button
Via the command line:
- Open a command-line prompt
- Run
code --install-extension Shopify.vscode-shadowenv
Usage
The following describes the usage of this extension that is automatically enabled each time you open
up VS Code.
Commands
In order to run a command press cmd+shift+p to view the Command Palette. There type:
shadowenv trust to trust and load the local Shadowenv
shadowenv version to view the current shadowenv version
Contribute
For any bugs and feature requests please open an issue. For code contributions please create a pull
request. Enjoy!
Releasing
- Make sure you bump the version in
package.json , update the CHANGELOG.md
- Tag the new version
- log in to or create account on dev.azure.com
- Get @burke or someone else who has done a release to add you to the Shopify publisher
(https://marketplace.visualstudio.com/manage/publishers/Shopify)
- Click the "I already have an account" button; don't go to portal.azure.com
- Click the settings icon right next to your avatar after logged in; Personal Access Tokens
- New Token > All Accessible Organizations, Full access
npm config set prefix ~/nodewhatever
npm install -g vsce
~/nodewhatever/bin/vsce package
vsce login Shopify (then paste token)
vsce publish
| |