We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8327428 commit cc1fda9Copy full SHA for cc1fda9
src/launch-editor.ts
@@ -191,7 +191,11 @@ function getArgumentsForLineNumber(
191
}
192
193
function guessEditor() {
194
- // Explicit config always wins
+ // WebContainer config always wins
195
+ if (process.versions.webcontainer)
196
+ return [process.env.EDITOR || "code"]
197
+
198
+ // Explicit config always wins in non-WebContainer environments
199
if (process.env.VUE_EDITOR)
200
return shellQuote.parse(process.env.VUE_EDITOR)
201
0 commit comments