Description
Description:
When using VueDevTools with the launchEditor: 'windsurf' configuration in vite.config.js, the custom editor (Windsurf) opens the specified file correctly. However, an additional empty file is created, named with the line number from the code (e.g., 123 for line 123). This is unexpected and disrupts the development experience.
Configuration:
//vite.config.js
VueDevTools({ launchEditor: 'windsurf' })
Steps to Reproduce:
Configure VueDevTools in vite.config.js with launchEditor: 'windsurf'.
Use VueDevTools to open a file at a specific line in the Windsurf editor.
Observe that the correct file opens, but an empty file named with the line number is also created.
Expected Behavior:
The Windsurf editor should open only the specified file at the correct line without creating additional empty files.
Actual Behavior:
An empty file named with the line number is opened alongside the correct file in the Windsurf editor.
Environment:
Vite version: ^6.2.6
VueDevTools version: ^7.4.6
Editor: Windsurf
OS: Ubuntu 24.04.2