Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-index project when updating the toolchain #1875

Open
ahoppen opened this issue Dec 7, 2024 · 1 comment
Open

Re-index project when updating the toolchain #1875

ahoppen opened this issue Dec 7, 2024 · 1 comment

Comments

@ahoppen
Copy link
Member

ahoppen commented Dec 7, 2024

When switching to a different toolchain, the index-build folder isn’t really in a valid state anymore (eg. all the preparation state is out-of-date). We should re-index the project when we detect that SourceKit-LSP is launched with a different toolchain than the one used to index the project.

@ahoppen
Copy link
Member Author

ahoppen commented Dec 7, 2024

Synced to Apple’s issue tracker as rdar://141087885

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant