Skip to content

Commit c6ff156

Browse files
committed
move "run setup wizard" command to the top
1 parent 3b7a2b6 commit c6ff156

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/plugins/status-bar.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ export default createPlugin(
2626

2727
const getCommands = () => {
2828
const commands: (QuickPickItem & { command: string })[] = [];
29+
30+
commands.push({
31+
label: "Configure",
32+
command: "",
33+
kind: QuickPickItemKind.Separator,
34+
});
35+
36+
if (shouldShowRunSetupWizard()) {
37+
commands.push({
38+
label: "Run LocalStack Setup Wizard",
39+
command: "localstack.setup",
40+
});
41+
}
42+
2943
commands.push({
3044
label: "Manage",
3145
command: "",
@@ -51,19 +65,6 @@ export default createPlugin(
5165
command: "localstack.viewLogs",
5266
});
5367

54-
commands.push({
55-
label: "Configure",
56-
command: "",
57-
kind: QuickPickItemKind.Separator,
58-
});
59-
60-
if (shouldShowRunSetupWizard()) {
61-
commands.push({
62-
label: "Run LocalStack Setup Wizard",
63-
command: "localstack.setup",
64-
});
65-
}
66-
6768
return commands;
6869
};
6970

@@ -79,7 +80,6 @@ export default createPlugin(
7980

8081
context.subscriptions.push(
8182
commands.registerCommand("localstack.refreshStatusBar", () => {
82-
// TODO
8383
const setupStatus = setupStatusTracker.status();
8484
const localStackStatus = localStackStatusTracker.status();
8585
const localStackInstalled = setupStatusTracker.statuses().isInstalled;

0 commit comments

Comments
 (0)