TemplatesModules
Back to Modules
VS Code Desktop Icon

VS Code Desktop

By:
Add a one-click button to launch VS Code Desktop
README
Variables (4)
Apps (1)
Source

Add a button to open any workspace with a single click.

Uses the Coder Remote VS Code Extension.

1module "vscode" {
2  source   = "registry.coder.com/modules/vscode-desktop/coder"
3  version  = "1.0.15"
4  agent_id = coder_agent.example.id
5}

Examples

Open in a specific directory

1module "vscode" {
2  source   = "registry.coder.com/modules/vscode-desktop/coder"
3  version  = "1.0.15"
4  agent_id = coder_agent.example.id
5  folder   = "/home/coder/project"
6}