How to handle large project sparsely populated with Lua files? #2305
Unanswered
ddickstein
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a workspace that's ~500K files (after accounting for
workspace.ignoreDir
that excludes the directories we know we want to ignore) but very sparsely populated with Lua files (~350). After about 14 seconds after the server starts up, I see the message warning me that over 100K files have been scanned. I'm a bit surprised by how long that takes, given that GNUfind
only takes 0.5s to find all of the Lua files. It's of course possible that the message isn't actually identifying where most of the time is going. How can I diagnose the problem here so that I can use the project's real root as the project root and not need to resort to some workaround like using a subdirectory that has most of the Lua files? Also, if I do need to use a subdirectory, how can I point to a.editorconfig
in the actual workspace root?Beta Was this translation helpful? Give feedback.
All reactions