"Open in Editor" is not working correctly for Windows WSL. Can't open Cursor instead of VSCode
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
On "Open in Editor" click app opens file in VSCode instead of Cursor
On windows it works correct
My settings
// ~/.bashrc in WSL
LAUNCH_EDITOR="cursor"
// cursor setting.json
"terminal.integrated.env.linux": {
"EDITOR": "cursor"
}
app log on "Open in Editor" click:
VITE v5.4.10 ready in 438 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
Browserslist: browsers data (caniuse-lite) is 11 months old. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
[0930/110114.280:ERROR:third_party\crashpad\crashpad\util\win\registration_protocol_win.cc:108] CreateFile: The file specified cannot be found.. (0x2)
[0930/110615.555:ERROR:third_party\crashpad\crashpad\util\win\registration_protocol_win.cc:108] CreateFile: The file specified cannot be found.. (0x2)
Win env variables
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the “Open in Editor” entry point and reproduce the behavior under Windows WSL with EDITOR and LAUNCH_EDITOR set to cursor. Compare the editor selected there with the expected Cursor behavior, and verify the fix by repeating the click without falling back to VSCode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100