sourcekit-lsp(1)

πŸ’– sourcekit-lsp(1) β€” the manual, but make it cute πŸ’–

okay so bestie, welcome to the sourcekit-lsp(1) manual page, straight out of the Swift Documentation section. this is the whole thing, no skips, no "we'll get to that later". sit down, grab a strawberry πŸ“, and let's go.


✨ NAME ✨

sourcekit-lsp β€” a Language Server Protocol implementation for Swift and C-based languages. yes. both. she's versatile. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

so if you wanna invoke the Swift Language Server Protocol, you do it like this:

sourcekit-lsp <options>

and if you wanna see the whole list of supported options (and honestly, who doesn't), you hit the --help option like so:

sourcekit-lsp --help

🌸 DESCRIPTION 🌸

okay so here's the tea. SourceKit-LSP is an implementation of the Language Server Protocol (LSP for short, iykyk) for Swift and C-based languages. it's the thing that hands your editor features like code-completion and jump-to-definition, but only if your editor speaks LSP β€” which, bestie, the good ones do.

she's built on top of sourcekitd and clangd for high-fidelity language support, which is a fancy way of saying she actually knows what she's talking about. and on top of that she brings a powerful source code index plus cross-language support. not me being multi-talented 😭

also: SourceKit-LSP supports projects that use the Swift Package Manager. periodt. πŸ’–


πŸ’€ BUGS πŸ’€

okay listen, reporting bugs is a great way for anyone to help improve Swift β€” like genuinely, anyone, you don't need main character energy for this one (though you can bring it). the bug tracker for Swift, which is an open-source project, lives at:

<https://bugs.swift.org>

but wait 🫢 β€” if a bug can only be reproduced within an Xcode project or a playground, or if the bug is associated with an Apple NDA, then please file a report to Apple's Feedback Assistant instead, right here:

<https://feedbackassistant.apple.com>


πŸ‘‘ SEE ALSO πŸ‘‘

πŸŽ€ HOME PAGE

<https://swift.org>

πŸŽ€ APPLE DEVELOPER RESOURCES

<https://developer.apple.com/swift/resources>

πŸŽ€ CODE REPOSITORIES


and that's the whole page, no cap. this was sourcekit-lsp version 5.10.1, dated 2024-06-06 β€” go forth, jump to definitions, slay πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from