You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the error exactly? I can’t see it from your image. This code is not optimized, for every change in the file system it re-indexes EVERY FILE, which does cause issues in such a large folder. I can work on a PR to fix this issue since I was the most recent person to work on this code.
it appears that it is an issue with using the open file too many times. The program consistently crashes the open after open returns 2559 (a file id i think? I have no clue), where open returns -1 and causes a crash.
Activity
0xWDG commentedon Jun 27, 2022
How many sub-folders are there in the folder?
This code only loops for folders.
austincondiff commentedon Jun 28, 2022
node_modulescould contain hundreds or even thousands of folders depending on the project size.thunur commentedon Jun 28, 2022
ls -lR | grep -c "^-"
Through this command, the output result is 71388
thunur commentedon Jun 28, 2022
Of course, as an excellent editor, I think it should support projects of different sizes. I like codeedit very much and hope it can be better
KaiTheRedNinja commentedon Jul 9, 2022
What is the error exactly? I can’t see it from your image. This code is not optimized, for every change in the file system it re-indexes EVERY FILE, which does cause issues in such a large folder. I can work on a PR to fix this issue since I was the most recent person to work on this code.
KaiTheRedNinja commentedon Jul 10, 2022
I am able to reproduce the error with a NextJS project, I will work on this.
KaiTheRedNinja commentedon Jul 10, 2022
it appears that it is an issue with using the

openfile too many times. The program consistently crashes theopenafteropenreturns2559(a file id i think? I have no clue), whereopenreturns-1and causes a crash.