File tree Expand file tree Collapse file tree
editor/contrib/quickAccess
platform/extensionManagement/node Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,8 +35,10 @@ export abstract class AbstractGotoSymbolQuickAccessProvider extends AbstractEdit
3535 static SCOPE_PREFIX = ':' ;
3636 static PREFIX_BY_CATEGORY = `${ AbstractGotoSymbolQuickAccessProvider . PREFIX } ${ AbstractGotoSymbolQuickAccessProvider . SCOPE_PREFIX } ` ;
3737
38- constructor ( protected options ?: IGotoSymbolQuickAccessProviderOptions ) {
39- super ( { ...options , canAcceptInBackground : true } ) ;
38+ constructor ( protected options : IGotoSymbolQuickAccessProviderOptions = Object . create ( null ) ) {
39+ super ( options ) ;
40+
41+ options . canAcceptInBackground = true ;
4042 }
4143
4244 protected provideWithoutTextEditor ( picker : IQuickPick < IGotoSymbolQuickPickItem > ) : IDisposable {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export class ExtensionTipsService implements IExtensionTipsService {
2727
2828 constructor (
2929 @IFileService private readonly fileService : IFileService ,
30- @IEnvironmentService private readonly environmentService : IEnvironmentService ,
30+ @IEnvironmentService private readonly environmentService : INativeEnvironmentService ,
3131 @IProductService private readonly productService : IProductService ,
3232 @IRequestService private readonly requestService : IRequestService ,
3333 @ILogService private readonly logService : ILogService ,
@@ -76,7 +76,7 @@ export class ExtensionTipsService implements IExtensionTipsService {
7676 }
7777 } else {
7878 exePaths . push ( join ( '/usr/local/bin' , exeName ) ) ;
79- exePaths . push ( join ( ( this . environmentService as INativeEnvironmentService ) . userHome . fsPath , exeName ) ) ;
79+ exePaths . push ( join ( this . environmentService . userHome . fsPath , exeName ) ) ;
8080 }
8181
8282 for ( const exePath of exePaths ) {
Original file line number Diff line number Diff line change @@ -233,7 +233,6 @@ export {
233233 create ,
234234 IWorkbenchConstructionOptions ,
235235
236-
237236 // Basic Types
238237 URI ,
239238 UriComponents ,
You can’t perform that action at this time.
0 commit comments