
Control Cursor directly from Raycast

Open With Cursor commandOpen New Window commandAll commands work on Windows with Cursor's default (per-user or system-wide) installation.
Open with Cursor uses the File Explorer window you were in before opening Raycast: it opens the selected items, or the current folder when nothing is selected.assets/windows-helper.ps1).This extensions follows Raycast Cross-Extension Conventions.
You can use crossLaunchCommand to use its result.
cursorDirectoryThis 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.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");
});
Suggestions are always welcome and can be added via Github Issues
# 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
Search and open recent projects from Cursor.
Opens the currently selected Finder or File Explorer item with Cursor.
Opens a new Cursor window.
Manage Installed Extensions
Install Extensions from the Cursor Marketplace
Show currently active Cursor windows and workspaces
Open with Cursor opens the items selected in File Explorer, or the current folder when nothing is selectedShow Active Workspaces lists and focuses Cursor windows on WindowsSearch Recent Projects command as in VSCode extension