You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: secondary quick pick for selecting Swift Version with runSwiftScript command (#1476)
Implement a secondary quick pick for selecting desired Swift Version for Run Swift Script command, and also enabling global settings for it in vscode workspace.
Copy file name to clipboardExpand all lines: package.json
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -324,6 +324,22 @@
324
324
},
325
325
"markdownDescription": "Additional arguments to pass to `swift build` and `swift test`. Keys and values should be provided as individual entries in the list. If you have created a copy of the build task in `tasks.json` then these build arguments will not be propagated to that task."
326
326
},
327
+
"swift.scriptSwiftLanguageVersion": {
328
+
"type": "string",
329
+
"enum": [
330
+
"6",
331
+
"5",
332
+
"Ask Every Run"
333
+
],
334
+
"enumDescriptions": [
335
+
"Use Swift 6 when running Swift scripts.",
336
+
"Use Swift 5 when running Swift scripts.",
337
+
"Prompt to select the Swift version each time a script is run."
338
+
],
339
+
"default": "6",
340
+
"markdownDescription": "The default Swift version to use when running Swift scripts.",
0 commit comments