Comments (10)
After looking around the codebase of launch-editor-middleware
, I find that the command to open VSCode on macOS is code
. It means that developers must install the command code
in PATH
. Unfortunately, I didn't set it well.
How to set:
- open a VSCode
- use
Shift + Command + P
open All Commands panel - input
Shell Command: Install 'code' command in PATH
and select - install successfully
After setting it, I successfully open the target file in the VSCode.
Hi, @titibudala . Could you try the above solution? 😊
from devtools-next.
Unfortunately, I can't reproduce this issue, so we need your help to test it. The capabilities of our openInEditor feature are supported by Vite built-in.
Can you test this Vite feature? That will help us to find out if this is an upstream issue. Thank you.
Thanks.
I tried the URL http://localhost:5173/__open-in-editor?file=package.json
manually. It comes into the same error. I will try to find the problem myself locally.
from devtools-next.
I'll mention it in the document, also be related to #125
from devtools-next.
Yesss! That was it @LoTwT, thank you! 🫡
from devtools-next.
/cc @webfansplz Does package.json
should be here?
from devtools-next.
/cc @webfansplz Does
package.json
should be here?
Yeah, I think it makes sense to show it.
from devtools-next.
Same configuration (mostly) and same issue as @LoTwT
from devtools-next.
@LoTwT Can you show your real
file path and the incorrect file path of the assets page? You can hover the file path
row to get the details.
from devtools-next.
@LoTwT Can you show your
real
file path and the incorrect file path of the assets page? You can hover thefile path
row to get the details.
The filepath on the assets page:
The filepath copied in VSCode: /Users/caoyujie/codes/vite-assets/package.json
.
They are the same indeed.
from devtools-next.
Unfortunately, I can't reproduce this issue, so we need your help to test it. The capabilities of our openInEditor feature are supported by Vite built-in.
Can you test this Vite feature? That will help us to find out if this is an upstream issue. Thank you.
from devtools-next.
Related Issues (20)
- [FEATURE MISSING] VUEX store integration missing HOT 3
- Visual Studio Code - Insiders 中运行项目却是使用Visual Studio Code打开代码文件 HOT 2
- Open component in editor opens Sublime Text instead of VSCode HOT 1
- [doc] Sidebar sections HOT 2
- feat: `LAUNCH_EDITOR` env support HOT 2
- Weird bugs with updating data properties (Options API only) HOT 1
- When setup returns a render function, is it possible to obtain the state of refs? HOT 1
- EACCES: permission denied, scandir '/.fseventsd' HOT 1
- Support for Custom IDE in Element Selection HOT 2
- the latest version is 7.1.3,but the document sad "Starting from v7.2.0, you can specify the editor by launchEditor option:" HOT 2
- Vite plugin not working in Yarn 4 monorepo HOT 3
- Component inspector wrongly trigger HOT 3
- 本地开发,路由切换,路由无法跳转,路由守卫正常工作,但 js文件无法请求到,页面一直处于卡顿(loading)状态。但注释掉插件后,路由跳转正常。 HOT 32
- Incompatible with @rollup/plugin-commonjs
- Vite Inspect panel does not hide after visit on Safari Browser HOT 2
- How to disable devtools ? HOT 6
- add hotkeys to exit `Toggle Component Inspector` HOT 1
- issues of Component Inspector HOT 1
- launchEditor URI-option HOT 1
- Too long data in pinia store cannot use ui button HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devtools-next.