ue5_search_source
Search UE5 project C++ and header files with a regex pattern, returning file path, line number, and surrounding context for each match.
Instructions
Search C++ and header files in the UE5 project Source directory using a regex pattern. Returns file path, line number, and surrounding context for each match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Text or regex pattern to search for | |
| fileGlob | No | Glob pattern relative to Source dir (default: **/*.{cpp,h}) | |
| maxResults | No | Maximum number of matches to return (default: 50) | |
| contextLines | No | Lines of context before/after each match (default: 2) |