vuejs / devtools-next

The next iteration of Vue DevTools
https://devtools.vuejs.org/
MIT License
1.44k stars 102 forks source link

open in editor bug #623

Closed tt-a1i closed 6 days ago

tt-a1i commented 1 week ago

I started the project with webstorm, but the open in editor button of vite's debugging tool automatically opened vscode

willwillems commented 6 days ago

Have you specified the editor?

tt-a1i commented 6 days ago

Have you specified the editor?

I opened the project in WebStorm and did not open VSCode. When I clicked the button, it automatically opened the corresponding file in VSCode. I tried to fix the problem, but I couldn't find any configuration items like default IDE opening.

webfansplz commented 6 days ago

Have you specified the editor?

I opened the project in WebStorm and did not open VSCode. When I clicked the button, it automatically opened the corresponding file in VSCode. I tried to fix the problem, but I couldn't find any configuration items like default IDE opening.

Try to special the launchEditor option:

import VueDevTools from 'vite-plugin-vue-devtools'
export default defineConfig({
  plugins: [
    VueDevTools({
      launchEditor: 'webstorm',
    }),
    Unocss(),
  ],
})
tt-a1i commented 6 days ago

Have you specified the editor?

I opened the project in WebStorm and did not open VSCode. When I clicked the button, it automatically opened the corresponding file in VSCode. I tried to fix the problem, but I couldn't find any configuration items like default IDE opening.

Try to special the launchEditor option:

import VueDevTools from 'vite-plugin-vue-devtools'
export default defineConfig({
  plugins: [
    VueDevTools({
      launchEditor: 'webstorm',
    }),
    Unocss(),
  ],
})

Thank you very much for your answer, this problem has been solved, thank you