atom-project-plus
atom-project-plus copied to clipboard
Filter by path in project finder
Did I get it right that the ctrl-cmd-p filter just searches the main directory name, but not the project's path?
Because, most of my projects have the same root folder and thus, look like that in the project finder:
live ~/Websites/clientA/web/live
live ~/Websites/clientB/web/live
live ~/Websites/clientC/web/live
So if I type "clientC", the filtering is not applied. And filtering by "live" would make no sense. Is there a way to make the project finder search the entire path?
Currently the Project Finder only filters by name. I'd suggest first saving, then editing the titles of those projects to include the client's name: Project Plus: Save
then Project Plus: Edit Projects
in the command palette. It is something that could be added though if you still need it. Thoughts, @mehcode?
I seem to remember a TODO comment indicating this somewhere in the code base at one time (it's not there now). Anyway.. definitely in favor of this. We should rank an exact name match higher than a path match.
Relevant code to modify:
https://github.com/mehcode/atom-project-plus/blob/master/lib/project-finder-view.js#L124-L129
Thanks for considering the feedback, great! And: I hadn't been aware of the save / edit option – works for me!