This package allows to find file in current project or any directory using rg --files command.
As a ripgrep user, I have fine-tuned .ignore file in my projects folders to exclude certain files from grepping. It turned out that rg --files provides the list of only interesting files.
Asks for project dir if needed and reads filename with completing function. project-current is used as the default directory to search in. If invoked with prefix argument, always asks for directory to find files in.
Calls find-file-rg with active region or filename at point as initial value for completing function.
No predefined keybindings are provided. I personally use C-c f for find-file-rg and C-c g for find-file-rg-at-point.
Download find-file-rg.el and run:
M-x package-install-file RET <path-to-find-file-rg.el> RET
Put find-file-rg.el somewhere in your load path and add this to init.el:
(require 'find-file-rg)