Skip to content

Releases: swiftlang/vscode-swift

2.10.0

29 Jul 12:20
bc52ec9
Compare
Choose a tag to compare

Added

  • Added Swiftly toolchain management support .swift-version files, and integration with the toolchain selection UI (#1717
  • Added code lenses to run suites/tests, configurable with the swift.showTestCodeLenses setting (#1698)
  • New swift.excludePathsFromActivation setting to ignore specified sub-folders from being activated as projects (#1693)
  • New swift.recordTestDuration setting to disable capturing test durations, which can improve performance of heavy test runs (#1745)
  • Add a Generate SourceKit-LSP Configuration command that creates the configuration file with versioned schema pre-populated (#1726)

Fixed

  • Run multiple times... and Run until failure... will now work when multiple tests are selected (#1724)
  • Provide the Swift environment variables when resolving a swift-plugin task (#1727)
  • Optimized test explorer for test runs with many test cases (#1734)

2.8.0

15 Jul 12:41
c58c5d9
Compare
Choose a tag to compare

Added

  • Add clickable toolchain selection to Swift version status bar item (#1674)
  • Add macOS support for Swiftly toolchain management (#1673)
  • Show revision hash or local/editing keyword in project panel dependency descriptions (#1667)
  • Show files generated by build plugins under Target in Project Panel (#1592)
  • Added scope to extension settings (#1629)

Fixed

  • Fix test explorer tests not updating on document modification (#1663)
  • Fix improper parenting of tests w/ identical names in explorer (#1664)
  • Ensure document symbols are provided for folders in multi-root workspaces (#1668)
  • Fix comment regex not handling params/types/fn names containing func (#1697)
  • Prepend /// when continuing documentation comments on a new line (#1703)
  • Respect files.exclude setting values set to false (#1696)

2.6.0

27 Jun 16:13
269d6f2
Compare
Choose a tag to compare

Added

Fixed

  • Do not show non-"swift" tasks in the project panel (#1620)
  • Make sure activation does not fail when swift.path is null (#1616)
  • Fix Swift: Reset Package Dependencies command on Windows (#1614)
  • Activate extension when a .swift source file exists in a subfolder (#1635)
  • Fix issue finding LLDB-DAP when using Swiftly on macOS (#1632)
  • Fix diagnostic parsing when the file has a space in it (#1633)
  • Hide files excluded with files.exclude from Project Panel (#1626)

2.4.0

11 Jun 19:01
9a65f7a
Compare
Choose a tag to compare

Added

  • Add command to generate launch configurations (#1577)

Fixed

  • Break immediately when cancelling a multiple test run (#1589)
  • Fix timing issues introduced by new version of Node.js (#1576)
  • Fix issues with splitting output lines on Windows (#1570)
  • Better handle status updates for build tasks (#1539)
  • Allow platform selection in remote SSH sessions (#1567)
  • Don't colorize swift testing issue messages (#1543)
  • Poll for updated tasks in project panel (#1516)
  • Support finding compile_commands.json in non root project directories (#1484)
  • Support different toolchains per folder (#1478)
  • Disable clicking on links in Live Preview (#1518)
  • Avoid blocking folder addition on package loading (#1422)
  • Increase the size of child_process buffers (#1506)
  • Fix handling of malformed educational notes links (#1607)

2.2.0

17 Apr 17:40
96a8904
Compare
Choose a tag to compare

Added

  • Convert the Dependencies View into the Project Panel to view all aspects of your Swift project (#1382)
  • Use the LLDB DAP extension to debug when using a Swift 6 toolchain (#1384)
  • Added run and debug buttons to Swift editors (#1378)
  • Educational notes from compiler diagnostics can be viewed directly in VS Code (#1423)
  • Swift settings now support variable substitutions (#1439)
  • SwiftPM plugin tasks are now configurable via settings (#1409)
  • Added the swift.scriptSwiftLanguageVersion setting to choose Swift language mode when running scripts (thanks @louisunlimited) (#1476)

Fixed

  • Prevent duplicate reload extension notifications from appearing (#1473)
  • "Actual" and "Expected" values are shown in the right order on test failure (#1444)
  • Correctly set the DEVELOPER_DIR environment variable when selecting between two Xcode installs (#1433)
  • Prompt to reload the extension when swiftEnvironmentVariables is changed (#1430)
  • Search for Swift packages in sub-folders of the workspace (#1425)
  • Fix missing test result output on Linux when using print (#1401)
  • Stop all actively running tests when stop button is pressed (#1391)
  • Properly set --swift-sdk when using Swift: Select Target Platform on Swift 6.1 (#1390)

Full Changelog: 2.0.1...2.2.0

2.0.2

24 Feb 08:17
Compare
Choose a tag to compare
Release activities for 2.0.2