diff --git a/packages/core/src/browser/quick-open/quick-command-service.ts b/packages/core/src/browser/quick-open/quick-command-service.ts index 67740faa994ea..d0fc5dc3decb1 100644 --- a/packages/core/src/browser/quick-open/quick-command-service.ts +++ b/packages/core/src/browser/quick-open/quick-command-service.ts @@ -191,7 +191,10 @@ export class QuickCommandService implements QuickOpenModel, QuickOpenHandler { raw.forEach((command: Command) => { if (command.label) { const contexts = this.contexts.get(command.id); - if (!contexts || contexts.some(when => this.contextKeyService.match(when))) { + if (!contexts || contexts.some(when => { + when = when.trim(); + return when === 'true' || this.contextKeyService.match(when); + })) { valid.push(command); } }