|
276 | 276 | ],
|
277 | 277 | "order": 9
|
278 | 278 | },
|
279 |
| - "swift.excludePathsFromPackageDependencies": { |
280 |
| - "description": "A list of paths to exclude from the Package Dependencies view.", |
281 |
| - "type": "array", |
282 |
| - "items": { |
283 |
| - "type": "string" |
284 |
| - }, |
285 |
| - "default": [ |
286 |
| - ".git", |
287 |
| - ".github" |
288 |
| - ], |
289 |
| - "order": 10 |
290 |
| - }, |
291 | 279 | "swift.backgroundCompilation": {
|
292 | 280 | "type": "boolean",
|
293 | 281 | "default": false,
|
294 | 282 | "markdownDescription": "**Experimental**: Run `swift build` in the background whenever a file is saved.",
|
295 |
| - "order": 11 |
| 283 | + "order": 10 |
296 | 284 | },
|
297 | 285 | "swift.actionAfterBuildError": {
|
298 | 286 | "type": "string",
|
|
307 | 295 | "Focus on Build Task Terminal"
|
308 | 296 | ],
|
309 | 297 | "markdownDescription": "Action after a Build task generates errors.",
|
310 |
| - "order": 12 |
| 298 | + "order": 11 |
311 | 299 | },
|
312 | 300 | "swift.buildPath": {
|
313 | 301 | "type": "string",
|
314 | 302 | "default": "",
|
315 | 303 | "markdownDescription": "Path to the build directory passed to all swift package manager commands.",
|
316 |
| - "order": 13 |
| 304 | + "order": 12 |
317 | 305 | },
|
318 | 306 | "swift.disableSwiftPackageManagerIntegration": {
|
319 | 307 | "type": "boolean",
|
320 | 308 | "default": false,
|
321 | 309 | "markdownDescription": "Disables automated Build Tasks, Package Dependency view, Launch configuration generation and TestExplorer.",
|
322 |
| - "order": 14 |
| 310 | + "order": 13 |
323 | 311 | },
|
324 |
| - "swift.showCreateSwiftProjectInWelcomePage": { |
| 312 | + "swift.warnAboutSymlinkCreation": { |
325 | 313 | "type": "boolean",
|
326 | 314 | "default": true,
|
327 |
| - "description": "Controls whether or not the create new swift project button appears in the welcome page.", |
328 |
| - "order": 15 |
329 |
| - }, |
330 |
| - "swift.openAfterCreateNewProject": { |
331 |
| - "type": "string", |
332 |
| - "enum": [ |
333 |
| - "always", |
334 |
| - "alwaysNewWindow", |
335 |
| - "whenNoFolderOpen", |
336 |
| - "prompt" |
337 |
| - ], |
338 |
| - "enumDescriptions": [ |
339 |
| - "Always open in current window.", |
340 |
| - "Always open in a new window.", |
341 |
| - "Only open in current window when no folder is opened.", |
342 |
| - "Always prompt for action." |
343 |
| - ], |
344 |
| - "default": "prompt", |
345 |
| - "description": "Controls whether to open a swift project automatically after creating it.", |
346 |
| - "order": 16 |
| 315 | + "description": "Controls whether or not the extension will warn about being unable to create symlinks. (Windows only)", |
| 316 | + "scope": "application", |
| 317 | + "order": 14 |
| 318 | + } |
| 319 | + } |
| 320 | + }, |
| 321 | + { |
| 322 | + "title": "User Interface", |
| 323 | + "properties": { |
| 324 | + "swift.excludePathsFromPackageDependencies": { |
| 325 | + "description": "A list of paths to exclude from the Package Dependencies view.", |
| 326 | + "type": "array", |
| 327 | + "items": { |
| 328 | + "type": "string" |
| 329 | + }, |
| 330 | + "default": [ |
| 331 | + ".git", |
| 332 | + ".github" |
| 333 | + ] |
347 | 334 | },
|
348 | 335 | "swift.showBuildStatus": {
|
349 | 336 | "type": "string",
|
|
360 | 347 | "Show the Swift build status in a status bar item provided by the Swift extension.",
|
361 | 348 | "Show the Swift build status in the \"Progress Message\" status bar item provided by VS Code.",
|
362 | 349 | "Show the Swift build status as a progress notification."
|
363 |
| - ], |
364 |
| - "order": 17 |
| 350 | + ] |
365 | 351 | },
|
366 |
| - "swift.warnAboutSymlinkCreation": { |
| 352 | + "swift.showCreateSwiftProjectInWelcomePage": { |
367 | 353 | "type": "boolean",
|
368 | 354 | "default": true,
|
369 |
| - "description": "Controls whether or not the extension will warn about being unable to create symlinks. (Windows only)", |
370 |
| - "scope": "application", |
371 |
| - "order": 18 |
| 355 | + "description": "Controls whether or not the create new swift project button appears in the welcome page." |
| 356 | + }, |
| 357 | + "swift.openAfterCreateNewProject": { |
| 358 | + "type": "string", |
| 359 | + "enum": [ |
| 360 | + "always", |
| 361 | + "alwaysNewWindow", |
| 362 | + "whenNoFolderOpen", |
| 363 | + "prompt" |
| 364 | + ], |
| 365 | + "enumDescriptions": [ |
| 366 | + "Always open in current window.", |
| 367 | + "Always open in a new window.", |
| 368 | + "Only open in current window when no folder is opened.", |
| 369 | + "Always prompt for action." |
| 370 | + ], |
| 371 | + "default": "prompt", |
| 372 | + "description": "Controls whether to open a swift project automatically after creating it." |
372 | 373 | }
|
373 | 374 | }
|
374 | 375 | },
|
|
0 commit comments