Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 87d872e

Browse files
committedMay 14, 2024··
Add notes on testing the link
1 parent 4d91505 commit 87d872e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
 

‎CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,15 @@ Coder Remote periodically reads the `network-info-dir + "/" + matchingSSHPID` fi
4444
```
4545

4646
3. Press `F5` or navigate to the "Run and Debug" tab of VS Code and click "Run Extension".
47+
48+
There are a few ways you can test the "Open in VS Code" flow:
49+
50+
- Use the "VS Code Desktop" button from a Coder dashboard.
51+
- Manually open the link with `Developer: Open URL` from inside VS Code.
52+
- Use `code --open-url <link>` on the command line.
53+
54+
The link format is `vscode://coder.coder-remote/open?${query}`. For example:
55+
56+
```
57+
code --open-url 'vscode://coder.coder-remote/open?url=dev.coder.com&owner=my-username&workspace=my-ws&agent=my-agent'
58+
```

0 commit comments

Comments
 (0)
Please sign in to comment.