-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip build directory in indexing #456
Comments
Hi, I want to work on this issue. Assign it to me. |
@milinddethe15 We don't generally use the assignment feature except for cases where the assignee has specific domain knowledge that makes it appropriate for them to handle it, e.g. a bug report for a feature I introduced may be assigned to me. Commenting here expressing interest is sufficient! If you have any further questions, don't hesitate to reach out or to ask questions on Discord! |
( I assigned it to them anyways ) |
What about making |
That's a larger change. Presently, Lexical doesn't have options, so we'd need to add the ability to have them. My thoughts about deps are this. Usually, you're finding references to something you wrote, and in that instance, you're not going to get results from On the other hand, it might be useful if you want to search for one of your dependency's modules to see where it appears in another dependency or to get an idea of how pervasive it is. In that case, searching deps is useful (I've done this a bunch with Jason). |
Presently, we index both the deps and _build directory, so source files in both directories will show up with when you call find references. This raises two questions:
_build
directory?deps
directoryI think the answer to the first question is definitely no.
I'm not so sure about if we should skip the deps directory. I've found it sometimes useful to see usages of a particular module in dependencies, but I can also understand that results from dependencies clutter the results.
This is a relatively easy fix; we just need to remove the build (and maybe the deps) directories from the list of indexable files generated.
The text was updated successfully, but these errors were encountered: