Skip to content

Commit

Permalink
Add a little help message for the canister picker
Browse files Browse the repository at this point in the history
  • Loading branch information
kritzcreek committed Feb 25, 2020
1 parent aef76b1 commit 40f59e1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,14 @@ function launchDfxProject(dfxConfig: DfxConfig) {
if (canister !== "") start(canister);
else if (canisters.length === 1) start(canisters[0]);
else
window.showQuickPick(canisters, { canPickMany: false }).then(c => {
if (c) start(c);
});
window
.showQuickPick(canisters, {
canPickMany: false,
placeHolder: "What canister do you want to work on?"
})
.then(c => {
if (c) start(c);
});
}

function launchClient(serverOptions: ServerOptions) {
Expand Down

0 comments on commit 40f59e1

Please sign in to comment.