find
Find where a function, class, or variable is defined. Searches the whole project by name — no need to know which file it’s in.
Use Class.method dotted notation to narrow to a specific class member.
Use --fuzzy for partial/prefix matching (returns richer symbol information including kind and container name).
Examples: tyf find calculate_sum tyf find Calculator.add # find a specific class method tyf find calculate_sum multiply divide # multiple symbols at once tyf find handler –file src/routes.py # narrow to one file tyf find handle_ –fuzzy # fuzzy/prefix match
Usage
tyf find <SYMBOLS> [OPTIONS]
Arguments
<symbols>(required)- Symbol name(s) to find. Use
Class.methodto narrow to a specific class.
Options
-f, --file- Narrow the search to a specific file (searches whole project if omitted)
--fuzzy- Use fuzzy/prefix matching via workspace symbols (richer output with kind + container)
Examples
# Find a single symbol
tyf find calculate_sum
# Find a specific class method (dotted notation)
tyf find Calculator.add
# Find multiple symbols at once
tyf find calculate_sum multiply divide
# Find a symbol in a specific file
tyf find my_function --file src/module.py
# Fuzzy/prefix match
tyf find handle_ --fuzzy