File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,14 @@ This very depends on what X is, but some broad guidelines are:
64
64
1 . Do a case-insensitive recursive string search.
65
65
- Use a specialized tool like [ ripgrep] ( https://github.com/BurntSushi/ripgrep )
66
66
or [ ag] ( https://github.com/ggreer/the_silver_searcher ) .
67
+ - Use ` git grep --ignore-case "mypattern" ` . ` git grep ` also supports helpful
68
+ flags which provide more context:
69
+ - ` --show-function ` : Tries to print the function name that a match was
70
+ found in.
71
+ - ` --function-context ` : Tries to print the entire surrounding function
72
+ containing the match.
67
73
- Use 'Find in Workspace' in Xcode (<kbd >⌘</kbd >+<kbd >⇧</kbd >+<kbd >F</kbd >).
68
- - Use ` grep -i -r "mypattern" . ` .
74
+ - Use ` grep --ignore-case --recursive "mypattern" . ` .
69
75
2 . Go through the [ Documentation Index] ( /docs/README.md ) .
70
76
71
77
### How do I build the documentation as HTML?
You can’t perform that action at this time.
0 commit comments