/claim #207
Closes #207
setup.sh
script to install extensions & settings managementThis pull request introduces functionality to automate the setup of Visual Studio Code (VS Code) workspaces, including the installation of extensions and configuration of workspace settings. It adds new Terraform variables and resources, a setup script, and corresponding tests to ensure proper behavior.
extensions
, settings
, and install_extensions
variables to allow users to specify VS Code extensions, workspace settings, and control automatic installation behavior. Validation ensures proper formatting for extensions. (registry/coder/modules/vscode-desktop/main.tf
, registry/coder/modules/vscode-desktop/main.tfR41-R85)coder_script
resource that dynamically creates a setup script to install extensions and configure settings when applicable. (registry/coder/modules/vscode-desktop/main.tf
, registry/coder/modules/vscode-desktop/main.tfR41-R85)setup.sh
) to handle the installation of extensions, configuration of workspace settings, and creation of extension recommendations. The script includes robust error handling, logging, and validation mechanisms. (registry/coder/modules/vscode-desktop/setup.sh
, registry/coder/modules/vscode-desktop/setup.shR1-R267)README.md
to include examples for auto-installing extensions, configuring settings, and disabling automatic installation. (registry/coder/modules/vscode-desktop/README.md
, registry/coder/modules/vscode-desktop/README.mdR38-R77)install_extensions
flag. (registry/coder/modules/vscode-desktop/main.test.ts
, registry/coder/modules/vscode-desktop/main.test.tsR89-R143)Path: registry/coder/modules/vscode-desktop
New version: v1.0.0
Breaking change: [ ] Yes [X] No
bun test
)bun run fmt
)None
Yash Kumar Saini
@yashksaini-coder
Coder
@coder