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.
2 parents 4c4212d + cc1fda9 commit 080c695Copy full SHA for 080c695
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