microsoft / monitors4codegen

Code and Data artifact for NeurIPS 2023 paper - "Monitor-Guided Decoding of Code LMs with Static Analysis of Repository Context". `multispy` is a lsp client library in Python intended to be used to build applications around language servers.
https://www.microsoft.com/en-us/research/publication/guiding-language-models-of-code-with-global-context-using-monitors/
MIT License
207 stars 28 forks source link

Eclipse JDT.LS: Requesting references at a point returns the references for a different symbol #7

Open LakshyAAAgrawal opened 1 year ago

LakshyAAAgrawal commented 1 year ago

The issue was reported by @rgrunber at https://github.com/eclipse-jdtls/eclipse.jdt.ls/pull/2943#issuecomment-1809230292.

The same issue is noted in the JDT.LS unit test for references at https://github.com/microsoft/monitors4codegen/blob/main/tests/multilspy/test_multilspy_java.py#L46. This issue is seen specifically in Windows, but not in Linux.