swiftlang / sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages
Apache License 2.0
3.2k stars 264 forks source link

Add a request to re-index all files in SourceKit-LSP #1507

Closed ahoppen closed 1 week ago

ahoppen commented 1 week ago

Users should not need to rely on this request. The index should always be updated automatically in the background. Having to invoke this request manes there is a bug in SourceKit-LSP's automatic re-indexing. It does, however, offer a workaround to re-index files when such a bug occurs where otherwise there would be no workaround.

rdar://127476221 Resolves #1263

ahoppen commented 1 week ago

@swift-ci Please test

ahoppen commented 1 week ago

@swift-ci Please test

ahoppen commented 1 week ago

@swift-ci Please test Windows

ahoppen commented 1 week ago

@swift-ci Please test