Skip to content
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

[#859] Ignore test data directories. #1109

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

dgud
Copy link
Contributor

@dgud dgud commented Oct 5, 2021

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.

Fixes #859

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.
@robertoaloi robertoaloi merged commit 2a37aba into erlang-ls:main Oct 6, 2021
@robertoaloi
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

indexing should skip test data directories
2 participants