# VS Code Swift Extension - 2.16.6 Release Now Available

**URL:** <https://forums.swift.org/t/vs-code-swift-extension-2-16-6-release-now-available/87137>\
**Category:** VSCode Swift extension\
**Created:** [June 5, 2026, 2:56pm UTC](https://forums.swift.org/t/vs-code-swift-extension-2-16-6-release-now-available/87137 "2026-06-05T14:56:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthewbastien](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/matthewbastien/32/35842_2.png) [@matthewbastien](https://forums.swift.org/u/matthewbastien)\
**Post date:** [June 5, 2026, 2:56pm UTC](https://forums.swift.org/t/vs-code-swift-extension-2-16-6-release-now-available/87137/1 "2026-06-05T14:56:12Z")

</div>

A new release (2.16.6) of the VS Code Swift Extension was published yesterday. This patch release contains a few bug fixes:

- Packages that produced a warning during `swift package resolve` would not load ([#2262](https://github.com/swiftlang/vscode-swift/pull/2262))
- Override VS Code setting git `safe.bareRepository` to allow SwiftPM to resolve dependencies ([#2266](https://github.com/swiftlang/vscode-swift/pull/2266))
- Fix debug sessions not being launched when swiftly is using an Xcode toolchain ([#2268](https://github.com/swiftlang/vscode-swift/pull/2268))

The full change log can be found in the [2.16.6 release page on GitHub](https://github.com/swiftlang/vscode-swift/releases/tag/2.16.6).

You can update to this version directly from VS Code or any editor connected to the OpenVSX marketplace. The VSIX bundle for use with other IDEs is also available from the release page: [swift-vscode-2.16.6-632.vsix](https://github.com/swiftlang/vscode-swift/releases/download/2.16.6/swift-vscode-2.16.6-632.vsix)
