Skip to content

"Open in Editor" is not working correctly for Windows WSL. Can't open Cursor instead of VSCode #972

@it-sha

Description

@it-sha

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
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions