-
Notifications
You must be signed in to change notification settings - Fork 234
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
Fix EXCLUDE_QUERY_DIR
for cmt files
#1854
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Liam the changes look good to me. I wonder whether we whould de-duplicate the result similarly ar what is done for the build_path
?
Could you add a changelog entry and filter the test output so that the path is not printed ?
Good point. Actually at this point |
from liam923/exclude-query-dir-fix Changelog entry for ocaml#1854
from voodoos/fix-type-enclosing-deduplication Change entry for ocaml#1854
CHANGES: Tue Nov 26 17:30:42 CET 2024 + merlin binary - Respect the `EXCLUDE_QUERY_DIR` configuration directive when looking for cmt files (ocaml/merlin#1854) - Fix occurrences bug in which relative paths in index files are resolved against the PWD rather than the SOURCE_ROOT (ocaml/merlin#1855) - Fix exception in polarity search (ocaml/merlin#1858 fixes ocaml/merlin#1113) - Fix jump to `fun` targets not working (ocaml/merlin#1863, fixes ocaml/merlin#1862) - Fix type-enclosing results instability. This reverts some overly aggressive deduplication that should be done on the client side. (ocaml/merlin#1864) - Fix occurrences not working when the definition comes from a hidden source file (ocaml/merlin#1865)
CHANGES: Tue Nov 26 17:30:42 CET 2024 + merlin binary - Respect the `EXCLUDE_QUERY_DIR` configuration directive when looking for cmt files (ocaml/merlin#1854) - Fix exception in polarity search (ocaml/merlin#1858 fixes ocaml/merlin#1113) - Fix type-enclosing results instability. This reverts some overly aggressive deduplication that should be done on the client side. (ocaml/merlin#1864)
CHANGES: Tue Nov 26 17:30:42 CET 2024 + merlin binary - Respect the `EXCLUDE_QUERY_DIR` configuration directive when looking for cmt files (ocaml/merlin#1854) - Fix occurrences bug in which relative paths in index files are resolved against the PWD rather than the SOURCE_ROOT (ocaml/merlin#1855) - Fix exception in polarity search (ocaml/merlin#1858 fixes ocaml/merlin#1113) - Fix jump to `fun` targets not working (ocaml/merlin#1863, fixes ocaml/merlin#1862) - Fix type-enclosing results instability. This reverts some overly aggressive deduplication that should be done on the client side. (ocaml/merlin#1864) - Fix occurrences not working when the definition comes from a hidden source file (ocaml/merlin#1865)
CHANGES: Tue Nov 26 17:30:42 CET 2024 + merlin binary - Respect the `EXCLUDE_QUERY_DIR` configuration directive when looking for cmt files (ocaml/merlin#1854) - Fix exception in polarity search (ocaml/merlin#1858 fixes ocaml/merlin#1113) - Fix type-enclosing results instability. This reverts some overly aggressive deduplication that should be done on the client side. (ocaml/merlin#1864)
When looking for
.cmt
files, Merlin doesn't currently respect theEXCLUDE_QUERY_DIR
directive (see the first commit for a test case demonstrating the issue). This PR resolves this issue.This PR corresponds to PR 104 on Merlin-JST