Skip to content

IndexStoreDB not emitting information about out-of-Snippet symbols #246

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

Closed
tayloraswift opened this issue Jun 1, 2024 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@tayloraswift
Copy link
Owner

details in #245

@tayloraswift
Copy link
Owner Author

based on offline sync with @ahoppen , it looks like this is not supported at the indexstore-db library level, it is a C API-only feature.

it seems the intended behavior of IndexStoreDB.symbols(inFilePath:) is to list the definitions, not occurrences, of symbols in the current file, when what we really need is to list all occurrences.

@tayloraswift
Copy link
Owner Author

this PR implements the API we need on the Apple side: swiftlang/indexstore-db#202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant