Svelte Inspector does not open the file in Cursor

Hey, when i click on a component with Svelte Inspector, it used to open the exact file in VSCode, but i guess that is broken with cursor

Steps to reproduce

  1. Bootstrap a sveltekit project
  2. Setup inspector: vite-plugin-svelte/docs/inspector.md at main · sveltejs/vite-plugin-svelte · GitHub
  3. Try opening a component via it

Curious to know if it happens in nextjs too?

1 Like

I will never use this sotfware if you dont fix this, the inspector feature in svelte is the best feature ever !!

I’ve tried putting

export EDITOR=cursor
export VISUAL=cursor

in ~/.bashrc or ~/.zshrc (whatever you’re using) and it works for me :slight_smile: