bbatsov / helm-projectile

Helm UI for Projectile
327 stars 71 forks source link

Feature request: filter by file glob with helm-projectile-grep #155

Open chasecaleb opened 3 years ago

chasecaleb commented 3 years ago

Expected behavior

It would be nice to be able to specify a file glob to restrict what files helm-projectile-grep searches, e.g. "*.md" to search only through markdown doc files. It looks like projectile-grep supports this already, according to its docstring:

  "Perform rgrep in the project.

With a prefix ARG asks for files (globbing-aware) which to grep in.
With prefix ARG of `-' (such as `M--'), default the files (without prompt),
to `projectile-grep-default-files'.

With REGEXP given, don't query the user for a regexp."

Actual behavior

Prefix arg is ignored

Environment & version information