SourceKit-LSP for Visual Studio Code
This extension adds support to Visual Studio Code for using SourceKit-LSP, a language server for Swift and C/C++/Objective-C languages.
Note: SourceKit-LSP is under heavy development and this should be considered
a preview. Users will need to separately provide the
Building and Installing the Extension
Currently, the way to get the extension is to build and install it from source.
You will also need the
Prerequisite: To build the extension, you will need Node.js and npm: https://www.npmjs.com/get-npm.
The following commands build the extension and creates a
You can install the package from the command-line using the
Or you can install from within the application using the
Developing the Extension in Visual Studio Code
As an alternative, you can open the extension directory from Visual Studio Code and build it from within the application.
This will start debugging a special instance of Visual Studio Code that will have "[Extension Development Host]" in the window title and use the new extension.
There is extensive documentation for developing extensions from within Visual Studio Code at https://code.visualstudio.com/docs/extensions/overview.
Settings for SourceKit-LSP can be found in
The extension will find the