LSP-SourceKit
Convenience plugin for Apple's SourceKit language server
Details
Installs
- Total 480
- Win 0
- Mac 407
- Linux 73
Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 1 | 0 | 1 | 2 | 0 | 0 | 1 | 1 | 3 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 | 5 | 0 | 5 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 1 | 2 |
Linux | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
LSP-SourceKit
This is a helper package that automatically configures Apple's SourceKit language server for you.
To use this package, you must have:
- The LSP package.
- For macOS: Xcode and/or its command-line tools; for Linux: Install sourcekit-lsp manually.
- A Swift syntax if you want to use this server on Swift files. You may want to try Colin's Decent Swift Syntax.
Applicable Selectors
This language server operates on views with base scopes:
source.swift
(Swift files)
Usage
SourceKit will expect either a compile_commands.json
file at the root of your project, or a project built around the Swift Package Manager.
In case of compile_commands.json
, this file is usually generated by CMake with the command-line option -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
.
For Linux users: modify the "command"
value in the settings to point to the sourcekit-lsp
executable.
Installation Location
Nothing is installed. The plugin will use the language server bundled with Xcode on macOS.
Configuration
Configure SourceKit by running Preferences: LSP-SourceKit
from the command palette.