sourcekit-lsp
sourcekit-lsp copied to clipboard
Implement initial background indexing of a project
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 updates
@swift-ci Please test
@swift-ci Please test
@swift-ci Please test Windows
is it support other BSP or only Swift Package Manager?
To start off, I’m only aiming to support SwiftPM. I just opened https://github.com/apple/sourcekit-lsp/issues/1226 from my local to-do list so we can share ideas there. If you could comment there which BSP server you are using with SourceKit-LSP, that would be valuable.
Merging this to unblock further work on background indexing. Will address review comments in follow-up PRs.