File tree Expand file tree Collapse file tree
workbench/services/environment Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ export interface IEnvironmentService {
142142 extensionsPath ?: string ;
143143 extensionDevelopmentLocationURI ?: URI [ ] ;
144144 extensionTestsLocationURI ?: URI ;
145+ logExtensionHostCommunication ?: boolean ;
145146
146147 debugExtensionHost : IExtensionHostDebugParams ;
147148
Original file line number Diff line number Diff line change @@ -235,6 +235,8 @@ export class EnvironmentService implements IEnvironmentService {
235235
236236 @memoize
237237 get debugExtensionHost ( ) : IExtensionHostDebugParams { return parseExtensionHostPort ( this . _args , this . isBuilt ) ; }
238+ @memoize
239+ get logExtensionHostCommunication ( ) : boolean { return ! ! this . args . logExtensionHostCommunication ; }
238240
239241 get isBuilt ( ) : boolean { return ! process . env [ 'VSCODE_DEV' ] ; }
240242 get verbose ( ) : boolean { return ! ! this . _args . verbose ; }
Original file line number Diff line number Diff line change @@ -230,6 +230,7 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
230230 machineSettingsHome ! : URI ;
231231 machineSettingsResource ! : URI ;
232232
233+ userHome ! : string ;
233234 userDataPath ! : string ;
234235 appRoot ! : string ;
235236 appSettingsHome ! : URI ;
@@ -245,8 +246,6 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
245246
246247 galleryMachineIdResource ?: URI ;
247248
248- userHome ! : string ;
249-
250249 //#endregion
251250
252251 constructor ( readonly options : IBrowserWorkbenchEnvironmentConstructionOptions ) { }
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ export interface IWorkbenchEnvironmentService extends IEnvironmentService {
2020 readonly options ?: IWorkbenchConstructionOptions ;
2121
2222 readonly logFile : URI ;
23- readonly logExtensionHostCommunication : boolean ;
2423
2524 readonly webviewExternalEndpoint : string ;
2625 readonly webviewResourceRoot : string ;
Original file line number Diff line number Diff line change @@ -36,9 +36,6 @@ export class NativeWorkbenchEnvironmentService extends EnvironmentService implem
3636 @memoize
3737 get logFile ( ) : URI { return URI . file ( join ( this . logsPath , `renderer${ this . windowId } .log` ) ) ; }
3838
39- @memoize
40- get logExtensionHostCommunication ( ) : boolean { return ! ! this . args . logExtensionHostCommunication ; }
41-
4239 constructor (
4340 readonly configuration : IWindowConfiguration ,
4441 execPath : string ,
You can’t perform that action at this time.
0 commit comments