Files
coder/docs/cli/open_vscode.md
2024-01-02 20:46:18 +02:00

749 B
Generated

open vscode

Open a workspace in VS Code Desktop

Usage

coder open vscode [flags] <workspace> [<directory in workspace>]

Options

--generate-token

Type bool
Environment $CODER_OPEN_VSCODE_GENERATE_TOKEN

Generate an auth token and include it in the vscode:// URI. This is for automagical configuration of VS Code Desktop and not needed if already configured. This flag does not need to be specified when running this command on a local machine unless automatic open fails.