Swift for Visual Studio Code
🔥 A fork of the Swift for Visual Studio Code extension with only support for LSP via the Apple project SourceKit-LSP. I have created this fork for my personal use as I dont use the other features of the extension and just want the LSP support.
This extension adds language support for Swift to Visual Studio Code. It supports:
If you find any errors or want to want to improve the extension, would appreciate if you could open a PR.
The Swift for Visual Studio Code extension is a community driven project, developed by the amazing Swift community. Any kind of contribution is appreciated, including code, tests and documentation. For more details see CONTRIBUTING.md.
The Original Extension
The Swift for Visual Studio Code is developed by members of the Swift Community and maintained by the SSWG. The aim is to provide a first-class, feature complete extension to make developing Swift applications on all platforms a seamless experience.
For the extension to work, you must have Swift installed on your system. Please see the Getting Started Guide on Swift.org for details on how to install Swift on your system. Install the extension from VSCode Marketplace and open a Swift package! You'll be prompted to install and configure the CodeLLDB extension, which you should do so.
The extension provides language features such as code completion and jump to definition via the Apple project SourceKit-LSP. For these to work fully it is required that the project has been built at least once. Every time you add a new dependency to your project you should build it so SourceKit-LSP can extract the symbol data for that dependency.