mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
closes #16919 - [x] cursor doc - [x] windsurf doc from https://github.com/coder/coder/issues/16919#issuecomment-2737033477: - add to access-workspace - link to module(s) - how to windsurf with ssh - temp: install vsix manually (Windsurf) - from <https://github.com/coder/vscode-coder> - log in first - search extensions for Coder - ask your admin to add a module: https://registry.coder.com/modules/cursor --------- Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Co-authored-by: M Atif Ali <atif@coder.com>
63 lines
2.1 KiB
Markdown
63 lines
2.1 KiB
Markdown
# Cursor
|
|
|
|
[Cursor](https://cursor.sh/) is a modern IDE built on top of VS Code with enhanced AI capabilities.
|
|
|
|
Follow this guide to use Cursor to access your Coder workspaces.
|
|
|
|
If your team uses Cursor regularly, ask your Coder administrator to add a [Cursor module](https://registry.coder.com/modules/cursor) to your template.
|
|
|
|
## Install Cursor
|
|
|
|
Cursor can connect to a Coder workspace using the Coder extension:
|
|
|
|
1. [Install Cursor](https://docs.cursor.com/get-started/installation) on your local machine.
|
|
|
|
1. Open Cursor and log in or [create a Cursor account](https://authenticator.cursor.sh/sign-up)
|
|
if you don't have one already.
|
|
|
|
## Install the Coder extension
|
|
|
|
1. You can install the Coder extension through the Marketplace built in to Cursor or manually.
|
|
|
|
<div class="tabs">
|
|
|
|
## Extension Marketplace
|
|
|
|
1. Search for Coder from the Extensions Pane and select **Install**.
|
|
|
|
1. Coder Remote uses the **Remote - SSH extension** to connect.
|
|
|
|
You can find it in the **Extension Pack** tab of the Coder extension.
|
|
|
|
## Manually
|
|
|
|
1. Download the [latest vscode-coder extension](https://github.com/coder/vscode-coder/releases/latest) `.vsix` file.
|
|
|
|
1. Drag the `.vsix` file into the extensions pane of Cursor.
|
|
|
|
Alternatively:
|
|
|
|
1. Open the Command Palette
|
|
(<kdb>Ctrl</kdb>+<kdb>Shift</kdb>+<kdb>P</kdb> or <kdb>Cmd</kdb>+<kdb>Shift</kdb>+<kdb>P</kdb>)
|
|
and search for `vsix`.
|
|
|
|
1. Select **Extensions: Install from VSIX** and select the vscode-coder extension you downloaded.
|
|
|
|
</div>
|
|
|
|
1. Coder Remote uses the **Remote - SSH extension** to connect.
|
|
|
|
You can find it in the **Extension Pack** tab of the Coder extension.
|
|
|
|
## Open a workspace in Cursor
|
|
|
|
1. From the Cursor Command Palette
|
|
(<kdb>Ctrl</kdb>+<kdb>Shift</kdb>+<kdb>P</kdb> or <kdb>Cmd</kdb>+<kdb>Shift</kdb>+<kdb>P</kdb>),
|
|
enter `coder` and select **Coder: Login**.
|
|
|
|
1. Follow the prompts to login and copy your session token.
|
|
|
|
Paste the session token in the **Paste your API key** box in Cursor.
|
|
|
|
1. Select **Open Workspace** or use the Command Palette to run **Coder: Open Workspace**.
|