You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To search for a function declaration, you would do something like this:
ack "function myfunction("
As function definitions share the same syntax mostly across languages, perhaps we could simplify this into an option in ack search? so that you could do something like
ack --function myfunction
Of course the option could be something shorter, just a start for discussion.
The text was updated successfully, but these errors were encountered:
I used a custom shell command to do my searching through WordPress core before using ack, and I just prefer the ease of syntax to add a one letter option rather than spelling out "function function_name" as a parameter
To search for a function declaration, you would do something like this:
ack "function myfunction("
As function definitions share the same syntax mostly across languages, perhaps we could simplify this into an option in ack search? so that you could do something like
ack --function myfunction
Of course the option could be something shorter, just a start for discussion.
The text was updated successfully, but these errors were encountered: