Comments (19)
It would also be nice if cmpgn ur
would return project/campaigns/urls.py
. Maybe we can use https://github.com/rmm5t/liquidmetal?
from fuzzy-finder.
Yeah, we currently use https://github.com/atom/fuzzaldrin but are open to whatever works best.
from fuzzy-finder.
I don't see fuzzaldrin mentioned anywhere in this project. Is that logic
client or server side.
On Wednesday, February 26, 2014, Kevin Sawicki [email protected]
wrote:
Yeah, we currently use https://github.com/atom/fuzzaldrin but are open to
whatever works best.Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-36196215
.
from fuzzy-finder.
Sorry, should have mentioned more, it is managed by the SelectListView
superclass here: https://github.com/atom/fuzzy-finder/blob/master/lib/fuzzy-finder-view.coffee#L6
SelectListView
is in the public API but the source for it isn't available. All the filter boxes, cmd-t, cmd-shift-p, cmd-r, all use the same filter code, fuzzaldrin.
http://atom.io/docs/api/v0.60.0/api/classes/SelectListView.html
from fuzzy-finder.
@michaelhelmick given matching candidates /bar/foo
and /foo/bar
with the input br f
it's clear that /bar/foo
should score higher. When given matching candidates /bar/foo
and /foo/bar foo
, with the same input, which one should score higher? I believe /foo/bar foo
should.
I've started specs for this in fuzzaldrin atom/fuzzaldrin#3
from fuzzy-finder.
Besides paths, something else that I think people do quite frequently is typing the extension as part of the search e.g. forms css
, login html
. This is especially useful when strong naming conventions are enforced, such as in Rails projects.
Right now, it seems as fuzzy-finder ignores extensions completely. It'd be good to have them included.
from fuzzy-finder.
@amccloud that PR works well -- in my case, I also want spaces to match underscores in filenames, and your modification seems to accommodate that use case as well. Thanks!
from fuzzy-finder.
@paulozoom That's a good idea, I do that often too -- type the file extension at the end to try and get clearer results.
@amccloud I think /foo/bar foo
could score higher, too.
from fuzzy-finder.
I'm used to the fuzzy finding from Sublime and TextMate - e.g. arc.rb
should lead to something like /app/models/referral_code.rb, which the current fuzzy finder in Atom doesn't do.
from fuzzy-finder.
Just a heads up, if you don't use spaces (e.g. formscss
instead of forms css
) Atom's fuzzy finder should match. But it looks like uses spaces is an expected behavior we should also allow.
from fuzzy-finder.
@probablycorey My PR strips spaces from the input so that form css
works.
from fuzzy-finder.
@probablycorey Yes. I've seen several ST users search without spaces but for clarity I've grown accustomed to separating clauses when I'm looking for a nested file:
module classname
is how I generally look for lib/module/classname.rb
from fuzzy-finder.
This is now fixed in Atom 0.61.0.
from fuzzy-finder.
@probablycorey I remember seeing an update button inside of Atom but now I can't seem to find it 😞
from fuzzy-finder.
Atom menu -> Check for updates.
Unfortunately I am on 0.60.0 and it can't detect the update. Any solutions?
from fuzzy-finder.
It can take ~30 minutes for the update to propagate. It's an annoying quirk we plan on fixing.
from fuzzy-finder.
@probablycorey Is there a changelog for Atom?
@hkdobrev Oddly enough that doesn't show up every time I click Atom in the menubar.
from fuzzy-finder.
Thanks for the fix guys! 🍰
from fuzzy-finder.
@amccloud Those are all good questions. Could should ask them over at discuss.atom.io so other people can search for them better.
from fuzzy-finder.
Related Issues (20)
- Flaky test: Timeout in test "toggling when the project has multiple paths socket files on #darwin or #linux does not interfere with ability to load files" HOT 2
- Uncaught TypeError: Cannot read property 'sendCrawlEvent' of undefined
- Cannot find module fuzzy-native.node when opening FFinder HOT 6
- Uncaught Error: Cannot find module '/usr/lib/atom/node_modules/@atom/fuzzy-native/build/fuzzy-nat... HOT 3
- Suggestion: Make the fuzzy finder classes exposed/exported for other plugins to use HOT 3
- Copy full path in the dialog HOT 1
- Uncaught TypeError: Cannot read property 'sendCrawlEvent' of undefined HOT 8
- `Fast` scoring doesn't match underscore as path separators on Windows HOT 6
- Can't open multi file in search box HOT 1
- Fuzzy search cannot index project HOT 8
- Make the limit of results configurable or remove it
- Could be great to get a fuzzy-finder:toggle-folder-finder, or toggle-directory-finder
- An option to allow for project-relative absolute paths?
- Uncaught Error: /usr/lib/atom/node_modules/@atom/fuzzy-native/build/Release/fuzzy-native.node: un... HOT 2
- Uncaught Error: The module '/usr/lib/atom/node_modules/@atom/fuzzy-native/build/Release/fuzzy-nat...
- Build system information
- Cannot find module 'atom' (crashed by linter-stylelint)
- Insert project, relative or absolute path of selected file
- Open in external default program
- Uncaught Error: write EPIPE HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuzzy-finder.