Plugins for Android/Kotlin/Java, iOS/Swift/ObjC, Dart/Flutter, TypeScript/JavaScript, Rust, Ruby, C#, PHP, Python, Go, Perl, Proto, WSDL, and C++ development
npx claudepluginhub defendend/claude-ast-index-searchFast code search for Android/Kotlin/Java, iOS/Swift/ObjC, Dart/Flutter, TypeScript/JavaScript, Rust, Ruby, C#, PHP, Python, Go, Perl, C++, Protocol Buffers, and WSDL/XSD projects
Fast code search CLI for 30 programming languages. Native Rust implementation.
| Platform | Languages | File Extensions |
|---|---|---|
| Android | Kotlin, Java | .kt, .java |
| iOS | Swift, Objective-C | .swift, .m, .h |
| Web/Frontend | TypeScript, JavaScript | .ts, .tsx, .js, .jsx, .mjs, .cjs, .vue, .svelte |
| Systems | Rust | .rs |
| Backend | C#, Python, Go, C++, Scala | .cs, .py, .go, .cpp, .cc, .c, .hpp, .scala, .sc |
| Backend | PHP | .php, .phtml |
| Scripting | Ruby, Perl | .rb, .pm, .pl, .t |
| Mobile | Dart/Flutter | .dart |
| Schema | Protocol Buffers, WSDL/XSD | .proto, .wsdl, .xsd |
| Enterprise | BSL (1C:Enterprise) | .bsl, .os |
| Scripting | Lua, Bash | .lua, .sh, .bash, .zsh |
| Functional | Elixir | .ex, .exs |
| Data | SQL, R | .sql, .r, .R |
| Scientific | Matlab | .m |
| JVM | Groovy | .groovy, .gradle |
| Functional | Common Lisp | .lisp, .lsp, .cl, .asd |
| Game | GDScript (Godot) | .gd |
Project type is auto-detected.
Setup guide for your project — install, commands, and usage examples.
brew tap defendend/ast-index
brew install ast-index
winget install --id defendend.ast-index
If you have the old kotlin-index installed:
brew uninstall kotlin-index
brew untap defendend/kotlin-index
brew tap defendend/ast-index
brew install ast-index
git clone https://github.com/defendend/Claude-ast-index-search.git
cd Claude-ast-index-search
cargo build --release
# Binary: target/release/ast-index (~44 MB)
If brew install ast-index fails with merge conflict errors (<<<<<<< HEAD), reset your local tap:
cd /opt/homebrew/Library/Taps/defendend/homebrew-ast-index
git fetch origin
git reset --hard origin/main
brew install ast-index
cd /path/to/project
# Build index
ast-index rebuild
# Search
ast-index search ViewModel
ast-index class BaseFragment
ast-index implementations Presenter
ast-index usages Repository
# Option 1: via marketplace
claude plugin marketplace add defendend/Claude-ast-index-search
claude plugin install ast-index
# Option 2: if ast-index is already installed
ast-index install-claude-plugin
Restart Claude Code to activate. Update: brew upgrade ast-index && claude plugin update ast-index. Uninstall: claude plugin uninstall ast-index.
gemini skills install https://github.com/defendend/Claude-ast-index-search.git --path plugin/skills/ast-index
Add to .cursor/rules or project rules:
Use `ast-index` CLI for fast code search. Run `ast-index rebuild` before first use.
Available commands: search, class, implementations, usages, callers, call-tree, deps, outline, deprecated.
ast-index todo [PATTERN] # TODO/FIXME/HACK comments
ast-index callers <FUNCTION> # Function call sites
ast-index provides <TYPE> # @Provides/@Binds for type
ast-index suspend [QUERY] # Suspend functions
ast-index composables [QUERY] # @Composable functions
ast-index deprecated [QUERY] # @Deprecated items
ast-index suppress [QUERY] # @Suppress annotations
ast-index inject <TYPE> # @Inject points
ast-index annotations <ANN> # Classes with annotation
ast-index deeplinks [QUERY] # Deeplinks
ast-index extensions <TYPE> # Extension functions
ast-index flows [QUERY] # Flow/StateFlow/SharedFlow
ast-index previews [QUERY] # @Preview functions
ast-index usages <SYMBOL> # Symbol usages (falls back to grep)
ast-index search <QUERY> # Universal search
ast-index file <PATTERN> # Find files
ast-index symbol <NAME> # Find symbols
ast-index class <NAME> # Find classes/interfaces
ast-index symbol <NAME> # Find any symbol by name
ast-index implementations <PARENT> # Find implementations
ast-index hierarchy <CLASS> # Class hierarchy tree
ast-index usages <SYMBOL> # Symbol usages (indexed, ~8ms)