版本发布 6
### Fixed - Fix extension failing to activate when Swiftly was installed via Homebrew ([#1975](https://github.com/swiftlang/vscode-swift/pull/1975)) - Fix running `swift package` commands with `swift.disableSwiftPMIntegration` enabled ([#1969](https://github.com/swiftlang/vscode-swift/pull/1969)) - Fixed an issue where `lldb-dap` could not be found in Command Line Tools toolchains ([#1936](https://github.com/swiftlang/vscode-swift/pull/1936))
### Added - Swiftly toolchain installation support with commands to install stable and snapshot releases, progress tracking, and secure post-install script handling ([#1780](https://github.com/swiftlang/vscode-swift/pull/1780)) - Prompt to restart `SourceKit-LSP` after changing `.sourcekit-lsp/config.json` files ([#1744](https://github.com/swiftlang/vscode-swift/issues/1744)) - Prompt to cancel and replace the active test run if one is in flight ([#1774](https://github.com/swiftlang/vscode-swift/pull/1774)) - A walkthrough for first time extension users ([#1560](https://github.com/swiftlang/vscode-swift/issues/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](https://github.com/swiftlang/vscode-swift/pull/1857)) - Added new `target` and `configuration` properties to `swift` launch configurations that can be used instead of `program` for SwiftPM based projects ([#1890](https://github.com/swiftlang/vscode-swift/pull/1890)) ### Fixed - Don't start debugging XCTest cases if the swift-testing debug session was stopped ([#1797](https://github.com/swiftlang/vscode-swift/pull/1797)) - Improve error handling when the swift path is misconfigured ([#1801](https://github.com/swiftlang/vscode-swift/pull/1801)) - Fix an error when performing "Run/Debug Tests Multiple Times" on Linux ([#1824](https://github.com/swiftlang/vscode-swift/pull/1824)) - Fix the `> Swift: Run Swift Script` command not running unless a Swift Package folder is open ([#1832](https://github.com/swiftlang/vscode-swift/pull/1832)) - Fix the SourceKit-LSP diagnostics reported progress ([#1799](https://github.com/swiftlang/vscode-swift/pull/1799)) - Omit incompatible `additionalTestArgs` when building tests for debugging ([#1864](https://github.com/swiftlang/vscode-swift/pull/1864))
## Fixed - Cleanup Swift diagnostics when the source file is moved or deleted ([#1653](https://github.com/swiftlang/vscode-swift/pull/1653)) - Make sure newline starts with /// when splitting doc comment ([#1651](https://github.com/swiftlang/vscode-swift/pull/1651)) - Prevent continuous "package resolve" cycles ([#1654](https://github.com/swiftlang/vscode-swift/pull/1654)) - Fix error when running `Reset Package Dependencies` command from the Project view ([#1661](https://github.com/swiftlang/vscode-swift/pull/1661))
### Added - Add command to generate launch configurations ([#1577](https://github.com/swiftlang/vscode-swift/pull/1577)) ### Fixed - Break immediately when cancelling a multiple test run ([#1589](https://github.com/swiftlang/vscode-swift/pull/1589)) - Fix timing issues introduced by new version of Node.js ([#1576](https://github.com/swiftlang/vscode-swift/pull/1576)) - Fix issues with splitting output lines on Windows ([#1570](https://github.com/swiftlang/vscode-swift/pull/1570)) - Better handle status updates for build tasks ([#1539](https://github.com/swiftlang/vscode-swift/pull/1539)) - Allow platform selection in remote SSH sessions ([#1567](https://github.com/swiftlang/vscode-swift/pull/1567)) - Don't colorize swift testing issue messages ([#1543](https://github.com/swiftlang/vscode-swift/pull/1543)) - Poll for updated tasks in project panel ([#1516](https://github.com/swiftlang/vscode-swift/pull/1516)) - Support finding compile_commands.json in non root project directories ([#1484](https://github.com/swiftlang/vscode-swift/pull/1484)) - Support different toolchains per folder ([#1478](https://github.com/swiftlang/vscode-swift/pull/1478)) - Disable clicking on links in Live Preview ([#1518](https://github.com/swiftlang/vscode-swift/pull/1518)) - Avoid blocking folder addition on package loading ([#1422](https://github.com/swiftlang/vscode-swift/pull/1422)) - Increase the size of child_process buffers ([#1506](https://github.com/swiftlang/vscode-swift/pull/1506)) - Fix handling of malformed educational notes links ([#1607](https://github.com/swiftlang/vscode-swift/pull/1607))
### Added - Convert the Dependencies View into the Project Panel to view all aspects of your Swift project ([#1382](https://github.com/swiftlang/vscode-swift/pull/1382)) - Use the LLDB DAP extension to debug when using a Swift 6 toolchain ([#1384](https://github.com/swiftlang/vscode-swift/pull/1384)) - Added run and debug buttons to Swift editors ([#1378](https://github.com/swiftlang/vscode-swift/pull/1378)) - Educational notes from compiler diagnostics can be viewed directly in VS Code ([#1423](https://github.com/swiftlang/vscode-swift/pull/1423)) - Swift settings now support variable substitutions ([#1439](https://github.com/swiftlang/vscode-swift/pull/1439)) - SwiftPM plugin tasks are now configurable via settings ([#1409](https://github.com/swiftlang/vscode-swift/pull/1409)) - Added the `swift.scriptSwiftLanguageVersion` setting to choose Swift language mode when running scripts (thanks @louisunlimited) ([#1476](https://github.com/swiftlang/vscode-swift/pull/1476)) ### Fixed - Prevent duplicate reload extension notifications from appearing ([#1473](https://github.com/swiftlang/vscode-swift/pull/1473)) - "Actual" and "Expected" values are shown in the right order on test failure ([#1444](https://github.com/swiftlang/vscode-swift/issues/1444)) - Correctly set the `DEVELOPER_DIR` environment variable when selecting between two Xcode installs ([#1433](https://github.com/swiftlang/vscode-swift/pull/1433)) - Prompt to reload the extension when swiftEnvironmentVariables is changed ([#1430](https://github.com/swiftlang/vscode-swift/pull/1430)) - Search for Swift packages in sub-folders of the workspace ([#1425](https://github.com/swiftlang/vscode-swift/pull/1425)) - Fix missing test result output on Linux when using print ([#1401](https://github.com/swiftlang/vscode-swift/pull/1401)) - Stop all actively running tests when stop button is pressed ([#1391](https://github.com/swiftlang/vscode-swift/pull/1391)) - Properly set `--swift-sdk` when using `Swift: Select Target Platform` on Swift 6.1 ([#1390](https://github.com/swiftlang/vscode-swift/pull/1390)) **Full Changelog**: https://github.com/swiftlang/vscode-swift/compare/2.0.1...2.2.0