1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 21:25:25 +00:00

Move ignore-last-opened to ipc.d.ts

This is so it can be used in VS Code. Don't tell anyone but I forgot to
run `yarn ci`.
This commit is contained in:
Asher 2020-12-15 11:14:21 -06:00
parent cc584f86b9
commit f8b782bd68
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
2 changed files with 4 additions and 4 deletions

View File

@ -1499,10 +1499,10 @@ index 0000000000000000000000000000000000000000..56331ff1fc32bbd82e769aaecb551e42
+require('../../bootstrap-amd').load('vs/server/entry');
diff --git a/src/vs/server/ipc.d.ts b/src/vs/server/ipc.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..bf45e75aaf0dc8953ee6fee97fe02149879d3d72
index 0000000000000000000000000000000000000000..bc605f03881109ce560c751b550ecaba4671cc74
--- /dev/null
+++ b/src/vs/server/ipc.d.ts
@@ -0,0 +1,139 @@
@@ -0,0 +1,140 @@
+/**
+ * External interfaces for integration into code-server over IPC. No vs imports
+ * should be made in this file.
@ -1570,6 +1570,7 @@ index 0000000000000000000000000000000000000000..bf45e75aaf0dc8953ee6fee97fe02149
+ 'builtin-extensions-dir'?: string;
+ 'extra-extensions-dir'?: string[];
+ 'extra-builtin-extensions-dir'?: string[];
+ 'ignore-last-opened'?: boolean;
+
+ locale?: string
+

View File

@ -52,7 +52,6 @@ export interface Args extends VsArgs {
"proxy-domain"?: string[]
locale?: string
_: string[]
"ignore-last-opened"?: boolean
"reuse-window"?: boolean
"new-window"?: boolean
@ -176,7 +175,7 @@ const options: Options<Required<Args>> = {
"ignore-last-opened": {
type: "boolean",
short: "e",
description: "Ignore the last opened directory or workspace in favor of an empty window."
description: "Ignore the last opened directory or workspace in favor of an empty window.",
},
"new-window": {
type: "boolean",