atom / fuzzy-finder

Find and open files quickly
MIT License
275 stars 138 forks source link

Add service provider #275

Closed yuriihabrusiev closed 5 years ago

yuriihabrusiev commented 7 years ago

Description of the Change

This PR adds service provider, so other packages can toggle Fuzzy Finder with custom query text. Also it replaces changes from PR #137 and PR #181 can be implemented as a package.

Alternate Designs

  1. As introduced in #137.
  2. Everyone make their own implementation of Fuzzy Finder (like in related-files or related)

Benefits

Packages can toggle Fuzzy Finder with custom query.

Possible Drawbacks

No drawbacks

Applicable Issues

No issues

To Do

yuriihabrusiev commented 7 years ago

Hey guys, can anyone provide some feedback about this one. I'd really like to see this going forward. cc @50Wliu, @as-cii, @lee-dohm

lee-dohm commented 7 years ago

So this service would open the fuzzy finder with pre-populated search text? I'm not sure how beneficial this would be to other package authors. The two packages you mention provide a different set of files to select from and pre-populated search text wouldn't necessarily help with that.

yuriihabrusiev commented 7 years ago

Hey @lee-dohm , thanks for your response!

Let me show you few cases:

Sorry for Rails-only cases, but I'm sure many users will benefit from future like this. Also, Sublime Text has similar feature 😉.