Project plugin takes seconds to open with ~1000 files

Post Reply
dopm
Posts: 16
Joined: 24.01.2021 00:41

Project plugin takes seconds to open with ~1000 files

Post 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
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post 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.
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post by uvviewsoft »

seems it is fixed after my today's work. wait for beta of 1.123.
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post by uvviewsoft »

dopm
Posts: 16
Joined: 24.01.2021 00:41

Post by dopm »

Thanks! Tested, got an error: tree_proc() takes exactly 6 arguments, 7 given
On markdown lexer
dopm
Posts: 16
Joined: 24.01.2021 00:41

Post by dopm »

Project > go to file seems to not produce the popup with fuzzy seach for file names
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post 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.
Post Reply