Skip to content

Commit fcb2e50

Browse files
committed
1 parent 4c37690 commit fcb2e50

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/vs/workbench/contrib/extensions/common/extensionQuery.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ export class Query {
1212
}
1313

1414
static suggestions(query: string): string[] {
15-
const commands = ['installed', 'outdated', 'enabled', 'disabled', 'builtin', 'recommended', 'sort', 'category', 'tag', 'ext'];
15+
const commands = ['installed', 'outdated', 'enabled', 'disabled', 'builtin', 'recommended', 'sort', 'category', 'tag', 'ext', 'id'];
1616
const subcommands = {
1717
'sort': ['installs', 'rating', 'name'],
1818
'category': ['"programming languages"', 'snippets', 'linters', 'themes', 'debuggers', 'formatters', 'keymaps', '"scm providers"', 'other', '"extension packs"', '"language packs"'],
1919
'tag': [''],
20-
'ext': ['']
20+
'ext': [''],
21+
'id': ['']
2122
};
2223

2324
let queryContains = (substr: string) => query.indexOf(substr) > -1;
@@ -77,4 +78,4 @@ export class Query {
7778
equals(other: Query): boolean {
7879
return this.value === other.value && this.sortBy === other.sortBy;
7980
}
80-
}
81+
}

0 commit comments

Comments
 (0)