Skip to content

Commit d7f92c6

Browse files
reorder settings selection (#935)
1 parent f4cd3db commit d7f92c6

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/ui/ToolchainSelection.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -266,13 +266,7 @@ async function setToolchainPath(
266266
if (target === "prompt") {
267267
const items: (vscode.QuickPickItem & {
268268
target?: vscode.ConfigurationTarget;
269-
})[] = [
270-
{
271-
label: "User Configuration",
272-
detail: "Add to VS Code user configuration.",
273-
target: vscode.ConfigurationTarget.Global,
274-
},
275-
];
269+
})[] = [];
276270
if (vscode.workspace.workspaceFolders) {
277271
items.push({
278272
label: "Workspace Configuration",
@@ -281,6 +275,11 @@ async function setToolchainPath(
281275
target: vscode.ConfigurationTarget.Workspace,
282276
});
283277
}
278+
items.push({
279+
label: "User Configuration",
280+
detail: "Add to VS Code user configuration.",
281+
target: vscode.ConfigurationTarget.Global,
282+
});
284283
if (items.length > 1) {
285284
const selected = await vscode.window.showQuickPick(items, {
286285
title: "Toolchain Configuration",

0 commit comments

Comments
 (0)