No description
Find a file
2026-01-02 15:14:55 +01:00
__tests__ Release 1.1.0: Cursor workspace targeting 2025-12-23 20:11:29 +01:00
commands Release 1.1.2: sentence case fixes 2026-01-02 15:14:55 +01:00
launcher Release 1.1.2: sentence case fixes 2026-01-02 15:14:55 +01:00
utils Initial commit v0.1.0, working with Cursor IDE 2025-11-01 10:59:32 +01:00
workspaces Release 1.1.0: Cursor workspace targeting 2025-12-23 20:11:29 +01:00
.gitignore Release 1.1.0: Cursor workspace targeting 2025-12-23 20:11:29 +01:00
AGENTS.md Release 1.1.0: Cursor workspace targeting 2025-12-23 20:11:29 +01:00
CHANGELOG.md Release 1.1.2: sentence case fixes 2026-01-02 15:14:55 +01:00
esbuild.config.mjs Initial commit v0.1.0, working with Cursor IDE 2025-11-01 10:59:32 +01:00
LICENSE Update LICENSE to MIT 2025-11-18 20:39:12 +01:00
main.ts Fix command naming and logging 2025-12-30 18:01:30 +01:00
manifest.json Release 1.1.2: sentence case fixes 2026-01-02 15:14:55 +01:00
package-lock.json Release 0.1.0 2025-11-01 11:06:33 +01:00
package.json Release 1.1.2: sentence case fixes 2026-01-02 15:14:55 +01:00
README.md Release 1.1.2: sentence case fixes 2026-01-02 15:14:55 +01:00
settings.ts Release 1.1.2: sentence case fixes 2026-01-02 15:14:55 +01:00
tsconfig.json Initial commit v0.1.0, working with Cursor IDE 2025-11-01 10:59:32 +01:00
version-bump.mjs Release 1.1.1: review compliance fixes 2025-12-30 18:09:13 +01:00
versions.json Release 1.1.2: sentence case fixes 2026-01-02 15:14:55 +01:00

Open in IDE

Open the current Obsidian file in your IDE of choice. Supports all file types in your vault (.md, .base, .canvas, and more). Cursor support reuses existing windows when possible and can optionally focus a configured Cursor workspace (.code-workspace) before jumping to the file.

Current version: 1.1.2

Features

  • Command palette action + optional hotkey
  • Reuse an existing Cursor window (or spawn a new one)
  • (Optional) Focus a specific Cursor workspace (.code-workspace) when the active file belongs to it
  • Jump to the active file and cursor position (supports all file types)
  • Settings for CLI path, workspace targeting, vault staging, reuse behaviour, and OS fallbacks

Currently supported IDEs

IDE Status Notes
Cursor Supported macOS tested, CLI required
VSCode Not supported yet Coming soon
Next up: Neovim, JetBrains, and more.

🧩 Requirements

  • Desktop Obsidian (relies on FileSystemAdapter)
  • Cursor CLI installed
    • Install within Cursor via Cmd+Shift+PShell Command: Install "cursor"
    • macOS Homebrew: brew install --cask cursor
    • Windows: ensure Cursor is installed and restart the terminal so %LocalAppData%\Programs\cursor\bin is on PATH.
  • If Obsidian cant find cursor on PATH (common when launched from Finder), set Cursor executable path in settings.
  • Tested on macOS; other platforms have not yet been formally certified

🚀 Installation

  1. Open SettingsCommunity plugins in Obsidian.
  2. Search for Open in IDE.
  3. Click Install and then Enable.

Alternatively, for manual installation:

  1. Copy main.js and manifest.json into Vault/.obsidian/plugins/open-in-ide/.
  2. Reload Obsidian and enable the plugin.

🧭 Usage

  1. Open any file in your vault (markdown, .base, .canvas, etc.)
  2. Run Open in IDE (Cursor) from the command palette or your hotkey
  3. Cursor reuses or opens a window, stages the vault (if enabled), and focuses the file
  4. For text files with an active editor, the cursor position is preserved

⚙️ Settings

Setting Description
Cursor executable path Override the Cursor binary location
Cursor workspace file Optional .code-workspace to focus/open when the file belongs to it
Reuse existing window Prefer existing Cursor windows for the vault
Open vault before file Ensure the vault is loaded into Cursor before the note
Allow system fallback Use open / start / xdg-open if the CLI cannot be found

🪲 Troubleshooting

  • "Cursor executable not found …" → update the path or install the CLI
  • "Unable to resolve absolute path …" → only files inside the vault are supported
  • OS fallback notices mean the command fell back to system launchers instead of the CLI

🚧 Known limitations

  • Desktop-only; mobile lacks the required APIs
  • Cursor CLI is strongly recommended—fallback launchers are best-effort
  • Only supports files inside the vault
  • Window reuse ultimately depends on the Cursor CLI
  • The plugin cant inspect “currently open” Cursor windows; it targets a workspace/folder and lets Cursor focus an existing matching window when available
  • Cursor position is only preserved for files with an active text editor

See CHANGELOG.md for release history and AGENTS.md for developer notes.