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.
  1. Select Cursor window > View (Top) > Extensions

  2. Type Extensions (Top LHS) > Search Bar > anysphere.remote-ssh

  3. Select Remote-SSH

Step Three: Install the Dev Container extension.
  1. Type Extensions (Top LHS) > Search Bar > anysphere.remote-containers

  2. Select Dev Containers

Cursor only requires the WSL extension for full local install on Windows.

Step One: Install the WSL extension.
  1. Select Cursor window > View (Top) > Extensions

  2. Type Extensions (Top LHS) > Search Bar > anysphere.remote-wsl

  3. Select Remote-SSH

Using Podman with Cursor requires configuring the docker path.

Do the following in a Cursor window.
  1. Select File > Preferences > Cursor settings

  2. Type Settings Tab > Search Bar > dev.containers.dockerPath

  3. Type Docker Path > podman

Attach to a Local Container#

Step One: Start the project container.
  1. Select Location Manager > Location Card > Location Window > Project Card

  2. Select Project Tab > Dashboard > Project Container > Start Container

Step Two: Connect a Cursor window to the container.
  1. Type Cursor window > Search Bar (Top) > > Dev Containers: Attach to a Running Container

  2. Hit Enter

  3. Select Drop Down > container name

  4. Hit Enter

Step Three: Open the project folder in the Cursor window.
  1. Select Cursor window > Open Folder (LHS)

  2. Locate the project folder and select it

Attach to a Remote Container#

Step One: Start the project container.
  1. Select Location Manager > Location Card > Location Window > Project Card

  2. Select Project Tab > Dashboard > Project Container > Start Container

Step Two: Connect a Cursor window to the remote container.
  1. Type Cursor window > Search Bar (Top) > > Remote-SSH: Connect to Host

  2. Hit Enter

  3. Select Drop Down > location-name or IP

  4. Type Cursor window > Search Bar (Top) > > Dev Containers: Attach to a Running Container

  5. Hit Enter

Step Three: Open the project folder in the Cursor window.
  1. Select Cursor window > Open Folder (LHS)

  2. Locate the project folder and select it