5c19962930
* Avoid spawning code-server with --reuse-window and --new-window These flags mean the user explicitly wants to open in an existing instance so if the socket is down it should error rather than try to spawn code-server normally. * Set session socket into environment variable While I was at it I added a CLI flag to override the default. I also swapped the default to --user-data-dir. The value is set on an environment variable so it can be used by the extension host similar to VSCODE_IPC_HOOK_CLI. * Add e2e test for opening files externally |
||
---|---|---|
.. | ||
routes | ||
test-plugin | ||
app.test.ts | ||
cli.test.ts | ||
constants.test.ts | ||
heart.test.ts | ||
http.test.ts | ||
plugin.test.ts | ||
proxy.test.ts | ||
settings.test.ts | ||
socket.test.ts | ||
update.test.ts | ||
util.test.ts | ||
vscodeSocket.test.ts | ||
wrapper.test.ts |