Analog to vscode://file/__FILE__:__LINE__ xdg-open links for Cursor

Feature request for product/service

Cursor IDE

Describe the request

The debug tools of Phoenix Web Framework I use support clicking somewhere on the UI I am developing to run xdg-open and open my code editor at the exact file:line where the clicked UI element was generated. For VS Code I had to add to my .bashrc this:

export PLUG_EDITOR="vscode://file/__FILE__:__LINE__"

How to make it open the file in Cursor IDE, not VS Code?


Old related conversation

https://forum.cursor.com/t/open-in-cursor-url-handler/1999

Operating System (if it applies)

Linux