Code
Provides structural code search for Go codebases, integrating local AST analysis with Gopls for comprehensive dependency and standard library lookups.
Code is a specialized tool designed to enhance code search capabilities for both human developers and AI agents, particularly within Go projects. It goes beyond simple text matching by understanding the structural context of Go code through local Abstract Syntax Tree (AST) analysis and integrating with `gopls` to traverse dependencies and the Go standard library. This hybrid approach, combined with intelligent result ranking, allows users to quickly locate specific function, struct, and interface definitions, streamlining development and AI-driven code analysis workflows.
주요 기능
01Utilizes hybrid ranking to prioritize local business logic over library code.
02Offers both a command-line interface (CLI) for humans and an MCP server mode for AI agents.
03Provides fuzzy filename search capabilities for non-Go code.
04Integrates with Gopls to search across Go dependencies and the standard library.
050 GitHub stars
06Performs structural code search within Go codebases using AST analysis.
사용 사례
01Enabling AI agents to perform intelligent, context-aware code searches.
02Locating specific Go code patterns, definitions, or symbols for human developers.
03Effectively exploring Go project dependencies and the standard library.