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

Send trace message to editor if indexing of a file fails #1265

Closed
ahoppen opened this issue May 9, 2024 · 0 comments · Fixed by #1326
Closed

Send trace message to editor if indexing of a file fails #1265

ahoppen opened this issue May 9, 2024 · 0 comments · Fixed by #1326

Comments

@ahoppen
Copy link
Collaborator

ahoppen commented May 9, 2024

We should investigate if it makes sense to report errors during preparation and index store updates to the editor eg via the trace messages. Maybe we can implement something similar to the index log in Xcode this way.

rdar://127474136

ahoppen added a commit to ahoppen/sourcekit-lsp that referenced this issue May 22, 2024
This allows a user of SourceKit-LSP to inspect the result of background indexing.

rdar://127474136
Fixes apple#1265
ahoppen added a commit to ahoppen/sourcekit-lsp that referenced this issue May 22, 2024
This allows a user of SourceKit-LSP to inspect the result of background indexing. This allows a user of SourceKit-LSP to inspect the result of background indexing. I think this gives useful insights into what SourceKit-LSP is indexing and why/how it fails, if it fails, also for users of SourceKit-LSP.

rdar://127474136
Fixes apple#1265
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant