Extension Icon

Cursor

Control Cursor, Cursor & Codium directly from Raycast - Search and open recent projects, handle extensions and commands.
AvatarMathieu de Gouville
2,394 Installs
Overview

Cursor

Control Cursor, Cursor & Codium directly from Raycast

raycast-cross-extension-badge

Cursor screenshot

What is this extension

  • Search Cursor Recent Projects
  • Use Open With Cursor command
  • Use Open New Window command
  • Show Installed Extensions list
  • Search & Install Extension from VSCode Marketplace
  • Reach and search the Cursor Documentation in an instant right from Raycast without any hassle.

API

This extensions follows Raycast Cross-Extension Conventions.

You can use crossLaunchCommand to use its result.

Launch Context Options

cursorDirectory

This parameter is designed for the Cursor Directory extension.

Type: {ruleContent: string; replace?: boolean}

  • ruleContent is required for this feature.
  • replace default to true. It determines whether to replace or append rule content.

Launch Example

import { open } from "@raycast/api";
import { corssLaunchCommand } from "raycast-cross-extension";

await crossLaunchCommand({
  name: "index",
  extensionName: "cursor-recent-projects",
  ownerOrAuthorName: "degouville",
  type: LaunchType.UserInitiated,
  context: {
    cursorDirectory: {
      ruleContent: "foo bar",
      replace: false,
    },
  },
}).catch(() => {
  // Open the store page if the extension is not installed
  open("raycast://extensions/degouville/cursor-recent-projects");
});

How to add to the extension

Bugs and suggestions

Suggestions are always welcome and can be added via Github Issues

Development

# To install dependencies
bun i

# To start the local development server
bun run dev

All documentation items are defined in src/data/docs.ts. You can add new items there, types and IntelliSense supported. Each documentation item can have it's own displaytitle, url, icon and keywords. Only the title is required.

# To lint and fix
bun run fix-lint

# To locally build the extension
bun run build