Skip to content

Commit 1db6ec6

Browse files
committed
Added placeholder text and change status bar message
1 parent eaca85e commit 1db6ec6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/features/PowerShellFindModule.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ export function registerPowerShellFindModuleCommand(client: LanguageClient): voi
3030
var disposable = vscode.commands.registerCommand('PowerShell.PowerShellFindModule', () => {
3131
var items: QuickPickItem[] = [];
3232

33-
vscode.window.setStatusBarMessage(GetCurrentTime() + " Querying PowerShell Gallery");
33+
vscode.window.setStatusBarMessage(GetCurrentTime() + " Initializing...");
3434
client.sendRequest(FindModuleRequest.type, null).then((modules) => {
3535
for(var item in modules) {
3636
items.push({ label: modules[item].name, description: modules[item].description });
3737
};
3838

3939
vscode.window.setStatusBarMessage("");
40-
Window.showQuickPick(items).then((selection) => {
40+
Window.showQuickPick(items,{placeHolder: "Results: (" + modules.length + ")"}).then((selection) => {
4141
if (!selection) { return; }
4242
switch (selection.label) {
4343
default :

0 commit comments

Comments
 (0)