-
Notifications
You must be signed in to change notification settings - Fork 129
[Feedback] Experimental Fast Mode #379
Comments
Tried the experimental mode for my Django project. Rather than having my custom made python file in the search suggestions, it pointed me to Django's internal project files. Somehow it gives them priority over my custom file? Love the concept, but didn't work for me. |
Thanks for posting @visheshvvs ! We want to make the fast mode work for everybody, so this feedback is really appreciated. Can you give me a bit more information about the text that you used for the search, some of the paths that appeared first and the paths that you expected to appear? Even a couple of screenshots showing the fuzzy finder and its results with the fast mode enabled and disabled will do the trick 😃 Note: As a workaround, if you don't want any django file to appear in the fuzzy finder you can ignore the |
@rafeca Thanks for that tip, added lib as an excluded directory and I'm no longer seeing those files. |
Thanks for this improvement ! Though with my Atom v1.38.1 x64 on Windows 10, the fast mode of fuzzy finder does NOT seem to ignore VCS-ignored files even though I have the config setting to ignore them. If I switch back to the previous mode ( Is this behaviour intentional ?? |
Hmm, I'm unable to reproduce on Windows 10 with 1.38.1 @aviatesk. Can you share a minimal example where you see this behavior? I tested with a test repo with this
And 2 files, Do you see the same behavior with this example ☝️? |
@rsese I missed to clarify what I meant by VCS ignored. I confirmed I'm not sure about this is an intentional behaviour, but both modes are better to show the same files as possible for consistency. P.S. I confirmed some files in |
@aviatesk tanks for the additional info! I've been able to reproduce your problem by removing the (by default, this setting has the I've done some research and:
To work around this issue, we could manually add the if (this.ignoreVcsIgnores) {
args.push('-g', '!.git')
args.push('-g', '!.hg')
} @aviatesk do you want to send a PR to fix this? |
Thanks so much for investigating this issue and even proposing the workaround idea !
I really want to ! (I will just follow your ideas tho.) |
I've tested it a bit. I'm impressed by the speed, so kudos! For example with the alternate system and Cheers! |
Thanks for the feedback @Songworks, this is a good catch! I've just did some testing and you're right: on OSX/Linux you can search for It seems like the alternate mode was more permissive with the slash and backslash characters (e.g with I think that the current behaviour is more correct, and the fact that PHP classnames worked on the previous implementation was just coincidental. Still, I don't have a strong opinion on that, so I wouldn't be opposed to a PR that makes things like |
This mode is extremely fast in comparison to the current system. An issue I've come across is that files don't seem to be indexed when they're added by checking out a git branch. I'm finding it hard to keep using this mode with said issue. |
@GarethWelch this is not an expected behaviour, can you provide more details about the issue? which platform are you using? how do you checkout branches? via command line? the standard mode and the fast mode should use the same watching behaviour so I'm wondering what could make you experience this issue... |
in our code, a class is named like M_module_somefolder_MyClass . This file is stored in code_root/module/somefolder/MyClass.php if I copy the classname and paste it in ctrl+p using the fastmode, it does not find the file. |
Thanks for the feedback @Fedexyz ! This is a very similar behaviour than the one described by @Songworks in his comment. Since this seems to be quite standard (at least on PHP land) and the old fuzzy finder supported it, I've reconsider it and I'm gonna add support for things like |
I'll add some feedback here. I use ruby on rails a lot, and a file I touch fairly regularly doesn't show up as I'd expect (only in fast mode, slow mode does the right thing). I usually type In fast mode, this gives me Joins and feeds are the two shortest controller names in our application, so I understand how they got sorted toward the top (least space between app and con). |
New in fuzzy-finder v1.13.0: Experimental fast mode
New in v1.13.0, fuzzy finder offers to enable a new experimental fast mode when a large project is detected. Fast mode offers dramatic speed improvements:
ripgrep
for crawling the list of files #369)fuzzy-native
as an alternate scoring system #374)We think you're going to love these improvements.
How do I try it out?
These improvements are available in Atom 1.37, which is currently available in beta. When fuzzy finder detects a project with more than 10,000 files, it offers to enable experimental fast mode.
Having problems with experimental fast mode?
If you try out the new experimental fast mode and encounter any problems with it, please leave a comment below to let us know.
The text was updated successfully, but these errors were encountered: