Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL - Could not open List.tsx in the editor. #2

Closed
Pranay-Tej opened this issue Mar 27, 2023 · 2 comments
Closed

WSL - Could not open List.tsx in the editor. #2

Pranay-Tej opened this issue Mar 27, 2023 · 2 comments

Comments

@Pranay-Tej
Copy link

  • The package works in standalone Linux but not in WSL
  • I'm on Windows 11, Ubuntu 20.04.6 LTS
  • It'll be very helpful if we can make it work on WSL with some config
@ArnaudBarre
Copy link
Owner

Hello!

This plugin is using Vite internal launch editor feature. The upstream issue is: yyx990803/launch-editor#16

A PR is welcome there if you find a way to make it work

@Pranay-Tej
Copy link
Author

Pranay-Tej commented Mar 28, 2023

Thanks for pointing me to that issue.

The workaround I found is:

  1. Add this to .vscode/settings.json
  2. Run the project from VS Code's Terminal instead of Windows' terminal
.vscode/settings.json
{
  "terminal.integrated.env.linux": {
    "EDITOR": "code"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants