zthxxx / react-dev-inspector

jump to local IDE code directly from browser React component by just a simple click
https://react-dev-inspector.zthxxx.me
MIT License
1.15k stars 68 forks source link

无法唤起vscode #28

Closed weibo785424079 closed 3 years ago

weibo785424079 commented 3 years ago

To set up the editor integration, add something like REACT_EDITOR=atom to the .env.local file in your project folder and restart the development server. Learn more: 老哥这是怎么回事啊? 添加了REACT_EDITOR=code 也没用

zthxxx commented 3 years ago

image

zthxxx commented 3 years ago

@weibo785424079 上图里 vscode 的命令行工具装了吗?

nzreal commented 3 years ago

这让我想起我之前遇到的偶发问题,已经完成 Install 'code' command in PATH 以及将 export REACT_EDITOR=code 添加进了 ~/.zshrc,但是偶尔还是会有此报错,需要重新 Install 'code' command in PATH