FYI, a new release (2.2.0) of the VS Code Swift Extension was just published. Some highlights include:
- A new Project Panel to view all targets, tasks, dependencies and commands of your Swift project
- Moved to the LLDB DAP extension for debugging when using a Swift 6 toolchain
- Educational notes from compiler diagnostics can be viewed directly in VS Code
- Swift settings now support variable substitutions
- A ton of bug fixes!
Check out the full changelog for more info, and please file any issues if you encounter them!
13 Likes
The new Project Panel looks great!
VS Code is a great text editor that I use daily for that purpose, but I've never been a fan of using it as an IDE. One of the reasons for that is I don't agree with the minimalism of using the Command Palette for everything.
Despite that, at this point in time, VS Code is still the most viable option for using Swift for Linux development. This is entirely thanks to the Swift extension, which does a great job of improving the developer experience. The new Project Panel continues that trend, by making it easy to run and debug targets directly from the UI.
2 Likes