Skip to content

Releases: swiftlang/vscode-swift

2.16.4

27 Apr 18:35
46dc342

Choose a tag to compare

Added

  • Add ${binPath} variable substitution for launch configuration program paths (#2184)

Fixed

  • Fix false positive workspace detection for non-Swift projects with build/ or out/ directories (#2156)
  • Fix build status notification to show a determinate progress bar (#2188)
  • Fix debugging when running tests with the swiftbuild build system (#2191)

2.16.3

07 Apr 17:22
78e3a4b

Choose a tag to compare

Added

  • Warn when the build folder is locked by another SwiftPM process (#2168)

Fixed

  • Refresh tests in the test explorer when background indexing completes (#2164)
  • Fix infinite loop on startup when swift-package-manager has a lock on the package being opened (#2174)

2.16.2

19 Mar 17:34
51b82a0

Choose a tag to compare

Added

  • Add swift.ignoreSwiftVersionFile setting to ignore the toolchain set in .swift-version files (#2073)

Fixed

  • Swift-testing test runs are marked as 'started' in the UI immediately, not after compilation finishes (#2079)
  • Fix legacy boolean setting values for swift.sourcekit-lsp.backgroundIndexing not being recognized (#2092)
  • Launch configurations defined in multi-root workspaces were unable to find the appropriate folder to run in (#2105)
  • Ignoring the dialog to use the toolchain defined in .swift-version would prevent extension acitvation (#2107)
  • Avoid rapidly resolving packages during rebases (#2125)
  • Fix typo in Swift extension setting (#2130)
  • Fix icon for build progress jittering in the status bar (#2150)

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)