Hi,
As part of the effort to consolidate Swift tools and projects under the swiftlang organization the Swift Server Working Group (SSWG) has graciously agreed to migrate the VS Code Swift Extension to the swiftlang
VS Code Marketplace ID.
This consolidation offers more control over how and when extension updates are made: in particular, the automation of extension publishing will result in a more secure release process.
Updating Your Extension
The new version of the extension with the ID swiftlang.vscode-swift
has been published to the VS Code Extension Marketplace.
If you already have the VS Code Swift Extension installed and have auto-updates enabled then new extension will automatically download and install. If you have auto-updates disabled you can open VS Code, navigate to the Extensions tab and search for Swift (Deprecated)
and uninstall this extension. Then you can install the new extension in the VS Code Marketplace.
Regardless of whether you updated manually or with automatic updates, it is recommended to remove the Swift (Deprecated)
extension from your Extensions tab since updates will only be published to the new extension going forward.
Auto Update - Technical Details
The final release of the “old” extension is version 1.12.0. This release is an empty extension that registers no commands, tasks, keybindings or other contributions to the VS Code environment. Instead, it registers a dependency on the new swiftlang.swift-vscode
extension for all the functionality it previously handled internally. When the existing extension updates it activates and downloads the new extension automatically. The old extension is then free to be removed at a convenient time.
Issues
In some circumstances the first launch after an update both the new and old extensions can launch at the same time. If you encounter an error prompt “Activating Swift extension failed: Terminal profile provider "swift.terminalProfile" already registered
” run the command > Developer: Reload Window
or close and open VS Code. If you encounter this message you’ll only need to do this step once.
If you experience issues with the migration please either post here on the forums, or create a new issue in the vscode-swift repository.
Acknowledging the Swift Server Working Group
Finally, we'd like to thank the Swift Server Working Group and all past and present contributors for creating such a useful and well crafted extension, as well as for facilitating its migration to the swiftlang organization. In particular, the debt is to Adam Fowler for the many hundreds of commits that bootstrapped the extension up from nothing to where it is today. I’d also like to thank Tim Condon as well as Adam Fowler for working with us through the migration process and for their continued contributions and guidance to the Swift Server Working Group.