sourcekit-lsp
sourcekit-lsp copied to clipboard
Language Server Protocol implementation for Swift and C-based languages
Implements an initial background index when the project is opened. The following will be implemented in follow-up PRs: - Resolving package dependencies - Preparing dependent modules - Watching for file...
There were two issues with Objective-C XCTest discovery: 1. We were relying on syntactic test discovery after a document is edited. But since we don't have syntactic test discovery for...
It should not be required to build your project for sourcekit-lsp to index it. While this is acknowledged elsewhere there isn't an issue mentioning it
Add a syntactic action that takes JSON pasted into a Swift file or placed in a string literal, then turns it into a set of Codable structs that can represent...
Every time I open the attached project in VS Code, a "Code Helper" process spins up and uses 100% CPU. I suspect this is related to SourceKit, because when I...
If you have a SwiftPM project in a subfolder of a VSCode workspace, SourceKit-LSP does not provide symbol completion, hover documentation for the Package.swift file even though a `workspace/didChangeWorkspaceFolders` request...
The test IDs returned by https://github.com/apple/sourcekit-lsp/pull/1151 don’t qualify the tests with the filename, line and column. Because of this, the test IDs may be ambiguous, eg. when multiple files define...
Tests inside extensions are not nested correctly in documentText/tests and workspace/tests responses
Requests to `documentText/tests` and `workspace/tests` should generate two TestItems inside a top level MyTests TestItem with the following code. ```swift final class MyTests: XCTestCase { func test1() { } }...
The source code generated by a SwiftPM build plugin does not get parsed by SourceKit-LSP. So any code referencing generated code is considered an error and "Go to definition..." etc...
Test functions with backticks in their identifier should have them filtered out. This is a stopgap until apple/swift-syntax#2576 is ready.