GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - swiftlang/sourcekit-lsp: Language Server Protocol implementation for Swift and C-based languages

BranchesTags
Open more actions menu

Latest commit

 

History

4,856 Commits
4,856 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer/default
.devcontainer/default
 
 
.github
.github
 
 
.vscode
.vscode
 
 
Contributor Documentation
Contributor Documentation
 
 
Documentation
Documentation
 
 
SourceKitLSPDevUtils
SourceKitLSPDevUtils
 
 
Sources
Sources
 
 
Tests
Tests
 
 
Utilities
Utilities
 
 
cmake/modules
cmake/modules
 
 
.editorconfig
.editorconfig
 
 
.flake8
.flake8
 
 
.gitignore
.gitignore
 
 
.license_header_template
.license_header_template
 
 
.licenseignore
.licenseignore
 
 
.swift-format
.swift-format
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.txt
LICENSE.txt
 
 
Package.swift
Package.swift
 
 
README.md
README.md
 
 
config.schema.json
config.schema.json
 
 
sourcekit-lsp-dev-utils
sourcekit-lsp-dev-utils
 
 
sourcekit-lsp.code-workspace
sourcekit-lsp.code-workspace
 
 

Repository files navigation

SourceKit-LSP

SourceKit-LSP is an implementation of the Language Server Protocol (LSP) for Swift and C-based languages. It provides intelligent editor functionality like code-completion and jump-to-definition to editors that support LSP. SourceKit-LSP is built on top of sourcekitd and clangd for high-fidelity language support, and provides a powerful source code index as well as cross-language support. SourceKit-LSP supports projects that use the Swift Package Manager and projects that generate a compile_commands.json file, such as CMake.

Getting Started

SourceKit-LSP is included in the Swift toolchains available on swift.org and is bundled with Xcode.

swift.org/tools has a list of popular editors that support LSP and can thus be hooked up to SourceKit-LSP to provide intelligent editor functionality as well as set-up guides.

Important

SourceKit-LSP does not update its global index in the background or build Swift modules in the background. Thus, a lot of cross-module or global functionality is limited if the project hasn't been built recently. To update the index or rebuild the Swift modules, build your project or enable the experimental background indexing as described in Enable Experimental Background Indexing.

To learn more about SourceKit-LSP, refer to the Documentation.

Note

If you are using SourceKit-LSP with a SwiftPM project in which you need to pass additional arguments to the swift build invocation, as is commonly the case for embedded projects, you need to teach SourceKit-LSP about those arguments as described in Using SourceKit-LSP with Embedded Projects.

Reporting Issues

If you should hit any issues while using SourceKit-LSP, we appreciate bug reports on GitHub Issue.

Contributing

If you want to contribute code to SourceKit-LSP, see CONTRIBUTING.md for more information.

About

Language Server Protocol implementation for Swift and C-based languages

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

3.9k stars

Watchers

149 watching

Forks

410 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.