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

TruffleAdapter.hover(...) is always null #11

Open
orat opened this issue Dec 9, 2024 · 1 comment
Open

TruffleAdapter.hover(...) is always null #11

orat opened this issue Dec 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@orat
Copy link
Member

orat commented Dec 9, 2024

DSL4GA_LSP package:
Test HoverTest failed because
Future future = truffleAdapter.hover(uri, line, column);
Hover hover = future.get(); // FIXME hover.getRange()==null

It looks that there is a bug in the language itself.

@orat orat added the bug Something isn't working label Dec 9, 2024
@orat
Copy link
Member Author

orat commented Dec 9, 2024

It is not hover==null
it is hover.getRange()==null, so if you you hover the cursor over a character of a symbol you do not get the position ranges of the symbol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants