LSP-SourceKit
Convenience plugin for Apple's SourceKit language server
Details
Installs
- Total 713
- Win 0
- Mac 604
- Linux 109
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 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 0 |
Mac | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 2 | 1 | 0 | 3 | 0 | 0 | 1 | 3 | 1 | 1 | 1 | 1 | 1 | 2 | 0 | 2 | 2 | 2 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
Linux | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
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.
- Swift toolchain. In case of macOS it comes with Xcode. In case of linux install correct variant for your distribution and make it available in system's
$PATH
. - A Swift-Next syntax.
Applicable Selectors
This language server operates on views with base scopes:
source.c
(C files)source.c++
(C++ files)source.objc
(Objective-C files)source.objc++
(Objective-C++ files)source.swift
(Swift files)
Usage
[!NOTE] The server is disabled globaly by default, you should either override its global setting to
"enabled": true,
or run in command paletteLSP: Enable language server in project
to enable it on per-project basis.
SourceKit will expect either a compile_commands.json
file at the root of your project, or a Package.swift
file if 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
.
Configuration
Configure SourceKit by running Preferences: LSP-SourceKit
from the command palette.