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

Windows vscode remote usage #52

Closed
louia opened this issue Feb 10, 2023 · 1 comment · Fixed by #61
Closed

Windows vscode remote usage #52

louia opened this issue Feb 10, 2023 · 1 comment · Fixed by #61

Comments

@louia
Copy link

louia commented Feb 10, 2023

Hi,

I have a problem. This solution doesnt work with remote dev on SSH session on VScode.

I run the npm run dev command in a bash opened in VScode but when i click on a compoenent in the browser it open the file in vim instead of Vscode.

Has anyone had the problem before?

Thanks in advance

@Loongphy
Copy link
Contributor

Maybe you can fix it by adding the following configuration in your VS Code settings.json .

"terminal.integrated.env.linux": {
  "EDITOR": "code"
 }

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

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

Successfully merging a pull request may close this issue.

2 participants