devtools icon indicating copy to clipboard operation
devtools copied to clipboard

can't 'open component in editor ' when I use wsl environment

Open heibaikn opened this issue 2 years ago • 4 comments

Version

6.4.1

Browser and OS info

Chrome 105/ Windows 10

Steps to reproduce

  1. vite serve a project and visite localhost
  2. open dev tools in chrome,
  3. click open component in editor 1

2

What is expected?

open file in editor

What is actually happening?

error in command

heibaikn avatar Sep 30 '22 02:09 heibaikn

In the windows environment, this function can be used normally

heibaikn avatar Sep 30 '22 02:09 heibaikn

Same issue

cinob avatar Feb 17 '23 08:02 cinob

Same, no one found a solution?

YuriyPonomarev224 avatar Jun 08 '23 11:06 YuriyPonomarev224

I'm using Visual Studio Code as my default editor and it required me to add the following to my shell configuration file (~/.zshrc) in WSL :

export EDITOR="code"

kevinmarrec avatar Oct 17 '23 12:10 kevinmarrec