1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/data/reusables/codespaces/linking-to-an-existing-codespace.md

16 lines
1.4 KiB
Markdown

## Linking to an existing codespace
You can create links to your existing codespaces. This is useful if you have a long-lived codespace that you return to frequently. You can save the link in a location of your choice, as an alternative to using the link on https://github.com/codespaces.
> [!NOTE]
> You can only open your own codespaces. If someone clicks a link to one of your codespaces they will see a 404 error message.
Create a link using one of the following URL patterns. In these URLs `CODESPACE-NAME` represents the unique, permanent name of the codespace, such as `literate-space-parakeet-w5vg5ww5p793g7g9`, not the codespace's display name. You can find the name of a codespace by copying the link to the codespace on your https://github.com/codespaces page and extracting the codespace name from the URL.
| **Link opens in** | **Link syntax** |
| --- | --- |
| {% data variables.product.prodname_vscode_shortname %} web client | `https://CODESPACE-NAME.github.dev` |
| {% data variables.product.prodname_vscode_shortname %} web client with a specified workspace | `https://CODESPACE-NAME.github.dev?folder=/workspaces/PATH/TO/WORKSPACE/DIRECTORY` |
| {% data variables.product.prodname_vscode_shortname %} desktop application | `https://github.com/codespaces/CODESPACE-NAME?editor=vscode` |
| JupyterLab | `https://github.com/codespaces/CODESPACE-NAME?editor=jupyter` |