swiftlang/indexstore-db
IndexStoreDB is a source code indexing library. It provides a composable and efficient query API for looking up source code symbols, symbol occurrences, and relations. IndexStoreDB uses the libIndexStore library, which lives in [swiftlang/llvm-project](https://github.com/swiftlan
Building IndexStoreDB
IndexStoreDB is built using the Swift Package Manager.
For a standard debug build and test:
$ swift build
$ swift testBuilding on Linux
The C++ code in the index requires libdispatch, but unlike Swift code, it cannot find it automatically on Linux. You can work around this by adding a search path manually.
$ swift build -Xcxx -I<path_to_swift_toolchain>/usr/lib/swift -Xcxx -I<path_to_swift_toolchain>/usr/lib/swift/BlockSome Example Users
Pecker: a tool to detect unused code based on SwiftSyntax and IndexStoreDB.
Contributing to Swift
Contributions to indexstore-db are welcomed and encouraged! Please see the Contributing to Swift guide.
Before submitting the pull request, please make sure you have tested your changes and that they follow the Swift project guidelines for contributing code.
To be a truly great community, Swift.org needs to welcome developers from all walks of life, with different backgrounds, and with a wide range of experience. A diverse and friendly community will have more great ideas, more unique perspectives, and produce more great code. We will work diligently to make the Swift community welcoming to everyone.
To give clarity of what is expected of our members, Swift has adopted the code of conduct defined by the Contributor Covenant. This document is used across many open source communities, and we think it articulates our values well. For more, see the Code of Conduct.
Development
For more information about developing IndexStoreDB, see Development.
Package Metadata
Repository: swiftlang/indexstore-db
Default branch: main
README: README.md