Use Cursor with AI Workbench#
Overview#
- Using Cursor with AI Workbench is virtually identical to using VS Code.
Cursor has the same features for working on remotes and attaching to containers. However, there is one difference.
You can’t (yet) configure Cursor as a Native App and then launch it from the Application Launcher Instead, you must attach it from within Cursor. It takes three steps.
- You need to start the project container first, then attach a Cursor window to it.
The lack of direct integration requires three steps. Start the project container, then attach Cursor to it by connecting to the remote and then the container.
Prerequisites: Cursor and Local Extensions#
- Step One: Install Cursor on the same system you have the Desktop App.
Go to the Cursor site and download the version for your operating system.
- Step Two: Install the Remote-SSH extension.
Select Cursor window > View (Top) > Extensions
Type Extensions (Top LHS) > Search Bar >
anysphere.remote-sshSelect Remote-SSH
- Step Three: Install the Dev Container extension.
Type Extensions (Top LHS) > Search Bar >
anysphere.remote-containersSelect Dev Containers
Cursor only requires the WSL extension for full local install on Windows.
- Step One: Install the WSL extension.
Select Cursor window > View (Top) > Extensions
Type Extensions (Top LHS) > Search Bar >
anysphere.remote-wslSelect Remote-SSH
Using Podman with Cursor requires configuring the docker path.
- Do the following in a Cursor window.
Select File > Preferences > Cursor settings
Type Settings Tab > Search Bar >
dev.containers.dockerPathType Docker Path >
podman
Attach to a Local Container#
- Step One: Start the project container.
Select Location Manager > Location Card > Location Window > Project Card
Select Project Tab > Dashboard > Project Container > Start Container
- Step Two: Connect a Cursor window to the container.
Type Cursor window > Search Bar (Top) >
> Dev Containers: Attach to a Running ContainerHit Enter
Select Drop Down > container name
Hit Enter
- Step Three: Open the project folder in the Cursor window.
Select Cursor window > Open Folder (LHS)
Locate the project folder and select it
Attach to a Remote Container#
- Step One: Start the project container.
Select Location Manager > Location Card > Location Window > Project Card
Select Project Tab > Dashboard > Project Container > Start Container
- Step Two: Connect a Cursor window to the remote container.
Type Cursor window > Search Bar (Top) >
> Remote-SSH: Connect to HostHit Enter
Select Drop Down > location-name or IP
Type Cursor window > Search Bar (Top) >
> Dev Containers: Attach to a Running ContainerHit Enter
- Step Three: Open the project folder in the Cursor window.
Select Cursor window > Open Folder (LHS)
Locate the project folder and select it