Hi,

The attached patch enhances the remote file support of project.el. It also has a new "require" statement, which might be problematic.  Additionally, project--collect-matches will look very similar to xref-collect-matches creating a chance to unify the two functions later.

Thanks,
Felicián