Paul Krill
Editor at Large

Swift for Visual Studio Code comes to Open VSX Registry

news
Apr 10, 20262 mins

Extension brings Swift language support to VS Code and compatible editors including Cursor, VSCodium, Kiro, and Antigravity.

shutterstock 2227591131 common Swift bird in flight over sunlit green grass
Credit: Per Grunditz / Shutterstock

The Swift for Visual Studio Code extension, which brings language support for Apple’s Swift programming language to Microsoft’s Visual Studio Code editor, now is available on the Open VSX Registy, an Eclipse Foundation-hosted open source registry for VS Code extensions.

The Swift for Visual Studio Code extension adds first-class language support for projects built with Swift Package Manager, enabling seamless cross-platform development on macOS, Linux, and Windows, according to Apple. The extension brings Swift language support including code completion, refactoring, full debugging support, a test explorer, as well as DocC support to both VS Code and a broad ecosystem of compatible editors and allows agentic IDEs like Cursor and Antigravity to automatically install Swift. No manual download is required.

Capabilities of the Swift for VS Code extension include:

  • Jump to definition, peek definition, find all references, and symbol search
  • Error annotations and fix suggestions
  • Automatic generation of launch configurations for debugging with LLDB DAP
  • Automatic task creation
  • A Project Panel to quickly run actions and view dependencies
  • Test Explorer view

Most features of the Swift for VS Code extension, however, only work with projects that build with Swift Package Manager. These projects will have a Package.swift file in their root folder. Support for Xcode projects (.xcodeproj) is limited. The Swift extension for VS Code also is available on the Visual Studio Marketplace.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author