ast-grep adds outline rules for more builtin languages
Introduced 2026-07-04 · score 0.92
HOW TO USE IT
When inspecting code in a builtin language with outline rules, run `ast-grep outline <path>` to view its structure. The 0.44.1 release added outline rules for C, C++, C#, Ruby, and PHP.
ast-grep outline <path>WHY THIS HELPS
Inspect the structure of code written in a builtin language supported by ast-grep.
REQUIREMENTS AND LIMITATIONS
- Version: 0.44.1
- <path>: Path or paths to search; defaults to the current directory when omitted.
FIRST-PARTY EVIDENCE
- https://github.com/ast-grep/ast-grep/releases/tag/0.44.1
- https://ast-grep.github.io/reference/cli/outline
Check the installed version and the source before using it. Entry JSON