vuejs / devtools

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools.vuejs.org/
MIT License
1.7k stars 122 forks source link

open in editor bug #623

Closed tt-a1i closed 1 month ago

tt-a1i commented 1 month ago

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

willwillems commented 1 month ago

Have you specified the editor?

tt-a1i commented 1 month 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 1 month 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 1 month 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