sourcekit-lsp icon indicating copy to clipboard operation
sourcekit-lsp copied to clipboard

Implement initial background indexing of a project

Open ahoppen opened this issue 9 months ago • 3 comments

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

ahoppen avatar May 03 '24 04:05 ahoppen

@swift-ci Please test

ahoppen avatar May 03 '24 04:05 ahoppen

@swift-ci Please test

ahoppen avatar May 05 '24 21:05 ahoppen

@swift-ci Please test Windows

ahoppen avatar May 05 '24 21:05 ahoppen

is it support other BSP or only Swift Package Manager?

SolaWing avatar May 06 '24 01:05 SolaWing

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.

ahoppen avatar May 06 '24 15:05 ahoppen

Merging this to unblock further work on background indexing. Will address review comments in follow-up PRs.

ahoppen avatar May 08 '24 17:05 ahoppen