3
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
4
*--------------------------------------------------------------------------------------------*/
5
5
6
- import * as nls from 'vs/ nls' ;
6
+ import * as nls from '../../ nls.js ' ;
7
7
8
- import { NativeEnvironmentService } from 'vs/ platform/environment/node/environmentService' ;
9
- import { OPTIONS , OptionDescriptions } from 'vs/ platform/environment/node/argv' ;
10
- import { refineServiceDecorator } from 'vs/ platform/instantiation/common/instantiation' ;
11
- import { IEnvironmentService , INativeEnvironmentService } from 'vs/ platform/environment/common/environment' ;
12
- import { IProductService } from 'vs/ platform/product/common/productService' ;
13
- import { memoize } from 'vs/ base/common/decorators' ;
14
- import { URI } from 'vs/ base/common/uri' ;
8
+ import { NativeEnvironmentService } from '../../ platform/environment/node/environmentService.js ' ;
9
+ import { OPTIONS , OptionDescriptions } from '../../ platform/environment/node/argv.js ' ;
10
+ import { refineServiceDecorator } from '../../ platform/instantiation/common/instantiation.js ' ;
11
+ import { IEnvironmentService , INativeEnvironmentService } from '../../ platform/environment/common/environment.js ' ;
12
+ import { IProductService } from '../../ platform/product/common/productService.js ' ;
13
+ import { memoize } from '../../ base/common/decorators.js ' ;
14
+ import { URI } from '../../ base/common/uri.js ' ;
15
15
16
16
export const serverOptions : OptionDescriptions < Required < ServerParsedArgs > > = {
17
17
18
- 'locale' : { type : 'string' } ,
19
-
20
18
/* ----- server setup ----- */
21
19
22
20
'host' : { type : 'string' , cat : 'o' , args : 'ip-address' , description : nls . localize ( 'host' , "The host name or IP address the server should listen to. If not set, defaults to 'localhost'." ) } ,
@@ -43,6 +41,7 @@ export const serverOptions: OptionDescriptions<Required<ServerParsedArgs>> = {
43
41
'log' : OPTIONS [ 'log' ] ,
44
42
'logsPath' : OPTIONS [ 'logsPath' ] ,
45
43
'force-disable-user-env' : OPTIONS [ 'force-disable-user-env' ] ,
44
+ 'enable-proposed-api' : OPTIONS [ 'enable-proposed-api' ] ,
46
45
47
46
/* ----- vs code web options ----- */
48
47
@@ -72,6 +71,7 @@ export const serverOptions: OptionDescriptions<Required<ServerParsedArgs>> = {
72
71
'category' : OPTIONS [ 'category' ] ,
73
72
'force' : OPTIONS [ 'force' ] ,
74
73
'do-not-sync' : OPTIONS [ 'do-not-sync' ] ,
74
+ 'do-not-include-pack-dependencies' : OPTIONS [ 'do-not-include-pack-dependencies' ] ,
75
75
'pre-release' : OPTIONS [ 'pre-release' ] ,
76
76
'start-server' : { type : 'boolean' , cat : 'e' , description : nls . localize ( 'start-server' , "Start the server when installing or uninstalling extensions. To be used in combination with 'install-extension', 'install-builtin-extension' and 'uninstall-extension'." ) } ,
77
77
@@ -100,8 +100,6 @@ export const serverOptions: OptionDescriptions<Required<ServerParsedArgs>> = {
100
100
101
101
export interface ServerParsedArgs {
102
102
103
- 'locale' ?: string ;
104
-
105
103
/* ----- server setup ----- */
106
104
107
105
host ?: string ;
@@ -170,6 +168,7 @@ export interface ServerParsedArgs {
170
168
'logsPath' ?: string ;
171
169
172
170
'force-disable-user-env' ?: boolean ;
171
+ 'enable-proposed-api' ?: string [ ] ;
173
172
174
173
/* ----- vs code web options ----- */
175
174
@@ -202,6 +201,8 @@ export interface ServerParsedArgs {
202
201
force ?: boolean ; // used by install-extension
203
202
'do-not-sync' ?: boolean ; // used by install-extension
204
203
'pre-release' ?: boolean ; // used by install-extension
204
+ 'do-not-include-pack-dependencies' ?: boolean ; // used by install-extension
205
+
205
206
206
207
'start-server' ?: boolean ;
207
208
@@ -246,4 +247,4 @@ export class ServerEnvironmentService extends NativeEnvironmentService implement
246
247
@memoize
247
248
override get userRoamingDataHome ( ) : URI { return this . appSettingsHome ; }
248
249
override get args ( ) : ServerParsedArgs { return super . args as ServerParsedArgs ; }
249
- }
250
+ }
0 commit comments