-
Notifications
You must be signed in to change notification settings - Fork 136
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
indexing should skip test data directories #859
Comments
Test data directories may contain erlang files with modules names that clashes with application or system modules, ignore these directories. As one example in otp "lib/dialyzer/test/r9c_SUITE_data/src/" contains the many files that clashes. This causes among other things that jump to definition almost always jumps to the wrong place when working inside OTP.
[#859] Ignore test data directories.
And it don't work :-( The cause is that This contradicts the recursive argument in
But that doesn't seem to matter since in the end a recursive search is always used anyway, How should we solve this? |
Describe the bug
Files in
test/xxxx_SUITE_data
directory are indexed.In the case of https://github.com/WhatsApp/erlfmt/tree/master/test/erlfmt_SUITE_data, this has a
unicode.erl
module which clashes with the system one.The text was updated successfully, but these errors were encountered: