File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -266,13 +266,7 @@ async function setToolchainPath(
266
266
if ( target === "prompt" ) {
267
267
const items : ( vscode . QuickPickItem & {
268
268
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
+ } ) [ ] = [ ] ;
276
270
if ( vscode . workspace . workspaceFolders ) {
277
271
items . push ( {
278
272
label : "Workspace Configuration" ,
@@ -281,6 +275,11 @@ async function setToolchainPath(
281
275
target : vscode . ConfigurationTarget . Workspace ,
282
276
} ) ;
283
277
}
278
+ items . push ( {
279
+ label : "User Configuration" ,
280
+ detail : "Add to VS Code user configuration." ,
281
+ target : vscode . ConfigurationTarget . Global ,
282
+ } ) ;
284
283
if ( items . length > 1 ) {
285
284
const selected = await vscode . window . showQuickPick ( items , {
286
285
title : "Toolchain Configuration" ,
You can’t perform that action at this time.
0 commit comments