Skip to content

Releases: swiftlang/vscode-swift

2.16.1

02 Feb 16:40
3de454e

Choose a tag to compare

Fixed

  • Fixed extension activation issues involving swiftly (#2066)

2.16.0

29 Jan 15:02
f2eb5de

Choose a tag to compare

Added

  • Show progress when describing/listing dependencies on package load (#2028)
  • Drop support for Swift 5.8 (#1853)
  • An official public API for the Swift extension that can be used by other Visual Studio Code extensions (#2030)
  • Add support for installing the swiftly toolchain manager (1881)

Fixed

  • Fix the wrong toolchain being shown as selected when using swiftly v1.0.1 (#2014)
  • Fix extension displaying SwiftPM's project view and automatic build tasks even when disableSwiftPMIntegration was true (#2011)
  • Validate extension settings and warn if they are invalid (#2016)
  • Show the Test Results panel when tests fail to compile and the user has testing.automaticallyOpenTestResults set to openOnTestFailure (#2035)
  • Added missing icon for macro targets in the Project Panel (#2043)

2.14.3

18 Dec 14:51
4890bd2

Choose a tag to compare

Fixed

  • Fix extension failing to find lldb-dap when swift.path points at an Xcode toolchain (#1998)
  • Omit --scratch-path when enumerating plugins with swift package plugin --list (#1996)

2.14.2

08 Dec 19:59
88c724a

Choose a tag to compare

Fixed

  • Fix extension failing to activate when Swiftly was installed via Homebrew (#1975)
  • Fix running swift package commands with swift.disableSwiftPMIntegration enabled (#1969)
  • Fixed an issue where lldb-dap could not be found in Command Line Tools toolchains (#1936)

2.14.1

21 Nov 17:03
92c28e6

Choose a tag to compare

Fixed

  • Suggest "Open Documentation" when toolchain not found (#1939)
  • Make sure all folder operation listeners get past folder add events (#1945)

2.14

11 Nov 17:24
7f53b13

Choose a tag to compare

Added

  • Syntax highlighting for *.swift.gyb files (#1515)
  • Activate the extension if a workspace folder contains a .bsp folder (#1865)

Fixed

  • Fixed an issue where the activation of the extension was held up while waiting on the debug configuration to update (#1914)

2.12

30 Oct 13:12
a5e141a

Choose a tag to compare

Added

  • Swiftly toolchain installation support with commands to install stable and snapshot releases, progress tracking, and secure post-install script handling (#1780)
  • Prompt to restart SourceKit-LSP after changing .sourcekit-lsp/config.json files (#1744)
  • Prompt to cancel and replace the active test run if one is in flight (#1774)
  • A walkthrough for first time extension users (#1560)
  • Allow swift.backgroundCompilation setting to accept an object where enabling the useDefaultTask property will run the default build task, and the release property will run the release variant of the Build All task (#1857)
  • Added new target and configuration properties to swift launch configurations that can be used instead of program for SwiftPM based projects (#1890)

Fixed

  • Don't start debugging XCTest cases if the swift-testing debug session was stopped (#1797)
  • Improve error handling when the swift path is misconfigured (#1801)
  • Fix an error when performing "Run/Debug Tests Multiple Times" on Linux (#1824)
  • Fix the > Swift: Run Swift Script command not running unless a Swift Package folder is open (#1832)
  • Fix the SourceKit-LSP diagnostics reported progress (#1799)
  • Omit incompatible additionalTestArgs when building tests for debugging (#1864)

2.10.0

29 Jul 12:20
bc52ec9

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

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

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)