Closed thecotne closed 7 years ago
This is probably caused by having too many directories in your project. We recurse and find every folder, then render them in a quick panel list. Can you try on a project with a smaller set of folders?
sublime text also scans my project and i am using goto function and its working without any lag
it must have some workaround to scan faster can you use sublime text indexes of goto panel?
on small project it's working
Yep, I have no idea why that would be. Feel free to look around at their behavior and see if there is anything I am missing. I am on a break at the moment.
Find: In... works fine for me in ST3.
@thecotne It's been a year since this was initially reported. Is the issue still occurring?
@twolfson i tested and yes issue is still occurring
i have project with some node_modules installed so node_modules has very big directory tree
when i first launch Find: In...
it responds with very small lag but when i start searching for something
that is very common like node
it's very laggy
if i search for something that will have small mount of results it's not laggy
btw i switched from windows to linux i am testing it with ubuntu 14
Can you elaborate on "searching for something"? Is this after you have selected a folder or when you are filtering the list of folders?
when i am filtering the list of folders
Ah, k. Do you think adding some kind of support for adding an ignore pattern would work for you (e.g. a configuration setting to ignore node_modules/
)?
if i ignore directory from sublime project settings is it ignored by find++ ?
in rare cases i may want to search in node_modules directory (when go to definition not works or when i want to see how some function is used internally in package)
Yea, if it's ignored by the project, then Find++ should ignore it as well. However, if you need to search node_modules
, then I can't help you.
There was a possibility to limit by max depth (e.g. only go down by 5 directories) but in npm@3
, they are moving to a flat folder structure which does us no good.
I am going to leave this issue as open (and open to suggestions) but I don't think there is any fix for your use case other than ignoring folders.
after trying to use that ST not responding