Page 1 of 1

Project plugin takes seconds to open with ~1000 files

Posted: 25.01.2021 12:49
by dopm
This is probably abusing the plugin...
I'm using it for notetaking. Project plugin takes seconds to open a file once found using fuzzy matching. Finding it is great, opening it is not. This is with ~1000 files in the project folder.
Maybe it's not designed for that?
A workaround could be to integrate something like this:
https://github.com/junegunn/fzf

or ripgrep for search in folder. This is what the howl editor does; very unixy. Maybe not ideal for cuda because we are targetting more platforms other than unix?

Any workarounds to fast open files in a folder with 1000s of them?

Thanks

Posted: 25.01.2021 13:05
by uvviewsoft
Thanks for reporting! yes I see that too. using "Number Utils" I made the bash file to create 3000 files. "go to project file" is slow.

Posted: 25.01.2021 16:43
by uvviewsoft
seems it is fixed after my today's work. wait for beta of 1.123.

Posted: 25.01.2021 23:45
by uvviewsoft

Posted: 28.01.2021 14:02
by dopm
Thanks! Tested, got an error: tree_proc() takes exactly 6 arguments, 7 given
On markdown lexer

Posted: 28.01.2021 14:08
by dopm
Project > go to file seems to not produce the popup with fuzzy seach for file names

Posted: 28.01.2021 16:27
by uvviewsoft
> Tested, got an error: tree_proc() takes exactly 6 arguments, 7 given
so you did not update the py/cudatext.py.

>go to file seems to not produce the popup with fuzzy
'fuzzy' was disabled in ProjMan code (for that call). why? enabled now. will be in update.