How to use [io.file.search]
The reference page of io.file.search has its arguments, constraints and declaration.
Searches all files recursively inside the specified folder and returns filenames with line numbers containing the specified pattern.
io.file.search:/modules/
pattern:"TODO"
Optional arguments:
- [regex] - Treats pattern as regular expression
- [case-sensitive] - Enables case sensitive search
- [extensions] - Comma-separated list of extensions (e.g. .cs,.hl)
Example with regex + extensions:
io.file.search:/modules/
pattern:"class\\s+Git"
regex:true
extensions:.cs,.hl
Return value example:
io.file.search
.
file:/modules/foo/bar.cs
lines
.:12
.:48