You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless a compelling use for it comes up, I would prefer to not pause indexing automatically in SourceKit-LSP. Especially with #1260, indexing shouldn’t compete with the running processes for system resources.
Oh, I see, you meant while building, I caught on to the run part of your description.
Xcode has index while building, so a build does index your project as well, so it doesn’t make sense to run a background index simultaneously. In SourceKit-LSP, you currently either purely use index-while-building (status quo) or background indexing (what I’ve been implementing recently) and there’s no way to merge the two. The exact details of how to achieve that (and if we want to at all) are still TBD (#1270 has some of the challenges) and until we do that, there’s no reason to pause indexing during a build.
Description
When I run a build in Xcode it pauses indexing is it worthwhile providing support for this in SourceKit-LSP?
The text was updated successfully, but these errors were encountered: