File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,18 +87,19 @@ directory-`path`-filter bug (returns nothing for directory paths; tracked at
8787Use ` terraphim-grep ` via Bash:
8888
8989``` bash
90- # Search all Rust files for a symbol
91- terraphim-grep " fn ensure_thesaurus_loaded" --type rust
90+ # Search code for a symbol (works without a thesaurus)
91+ terraphim-grep " fn ensure_thesaurus_loaded" --haystack code
9292
9393# Search with context lines
94- terraphim-grep " DeviceStorage::init" --type rust -C 3
94+ terraphim-grep " DeviceStorage::init" --haystack code -C 3
9595
9696# Search a specific directory
97- terraphim-grep " haystack" crates/terraphim_service /src/
97+ terraphim-grep " haystack" --haystack code --paths terraphim_server /src/
9898```
9999
100- ` terraphim-grep ` is the ` fff_search ` crate CLI and is always available at
101- ` ~/.cargo/bin/terraphim-grep ` or on ` $PATH ` after ` cargo install ` .
100+ ` terraphim-grep ` is installed with the ` code-search ` feature by default and is always
101+ available at ` ~/.cargo/bin/terraphim-grep ` or on ` $PATH ` after ` cargo install ` . It works
102+ without a thesaurus in search-only mode.
102103
103104### File-Name Lookup (find files by name/pattern)
104105
You can’t perform that action at this time.
0 commit comments