Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support project.el external roots #160

Open
fargiolas opened this issue Jul 11, 2023 · 1 comment
Open

support project.el external roots #160

fargiolas opened this issue Jul 11, 2023 · 1 comment

Comments

@fargiolas
Copy link

fargiolas commented Jul 11, 2023

Maybe the feature is already there and I'm not aware of it.

It would be great if rg.el could extend search to multiple directories, especially when a project uses the external roots feature from project.el.

See e.g. what you can do with project-or-external-find-regexp (C-x-p-G) that calls xref-search-program on both project root and external roots.

@dajva
Copy link
Owner

dajva commented Aug 30, 2023

I have been opting not to include such functionality since it would interfere with one of the main assumptions of the package's UX design, iow do quick simple searches and refine as you go from results buffer with simple key presses.
With that said, I think it would be great to support this in some way but I have not figured out a way to include it smoothly and play well with other features. There is the full command line search that should work for this but that essentially exclude the refine functionality of the results buffer. I do miss these kinds of advanced searches myself sometimes though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants