Files
coder/docs/reference/cli/open_vscode.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
854 B
Markdown
Raw Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: open vscode
description: Open a workspace in VS Code Desktop
---
2024-01-02 20:46:18 +02:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
Open a workspace in VS Code Desktop
## Usage
```console
coder open vscode [flags] <workspace> [<directory in workspace>]
```
## Options
### --generate-token
| | |
|-------------|------------------------------------------------|
2024-01-02 20:46:18 +02:00
| Type | <code>bool</code> |
| Environment | <code>$CODER_OPEN_VSCODE_GENERATE_TOKEN</code> |
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.