Skip to content

Code intelligence tools

Outline a source file: symbol kinds, names and line ranges.

Language is detected by extension (py/go/java/kt).

Find definition sites of a symbol across a file tree.

Optional kind filter (function, class, method, struct...).

Find occurrences of an identifier across a tree, excluding its definitions.

Heuristic: parser-based, not semantic.

List the imports and package declaration of a source file (py/go/java/kt).

Map Spring REST endpoints in a java/kotlin tree: HTTP verb, path and handler method.

List Spring beans in a java/kotlin tree: stereotype classes and @Bean methods.

CODE_TOOLS (standard toolset + these) and AST_TOOLS are importable from toolloop.codetools. See Code intelligence toolset for the guide.