vscode-extension/README.md
This is the official VSCode extension for devbox open source project by jetify.com
When VSCode Terminal is opened on a devbox project, this extension detects devbox.json and runs devbox shell so terminal is automatically in devbox shell environment. Can be turned off in settings.
If the opened workspace in VSCode has a devbox.json file, from command palette, invoking the devbox command Reopen in Devbox shell environment will do the following:
NOTE: Requires devbox CLI v0.5.5 and above installed and in PATH. This feature is in beta. Please report any bugs/issues in Github or our Discord.
NOTE2: This feature works with Linux, MacOS, and Windows with WSL (project files should reside in WSL and devbox CLI needs to be installed and in PATH in WSL)
cmd/ctrl + shift + p opens vscode's command palette. Typing devbox filters all available commands devbox extension can run. Those commands are:
No need to take any action for this feature. When writing a devbox.json, if this extension is installed, it will validate and highlight any disallowed fields or values on a devbox.json file.
Enabling debug mode in extension settings will create a sequence of logs in the file: .devbox/extension.log. This feature only tracks the logs for "Devbox: Reopen in Devbox Shell environment".
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
Steps:
package.json, and add notes to CHANGELOG.md. Sample PR: #951.vscode-ext-release in Github Actions.