Skip to content

Handle more class and object-related cases in the hover filtering.#1599

Merged
voodoos merged 5 commits intoocaml:masterfrom
voodoos:hover-classes
Mar 31, 2026
Merged

Handle more class and object-related cases in the hover filtering.#1599
voodoos merged 5 commits intoocaml:masterfrom
voodoos:hover-classes

Conversation

@voodoos
Copy link
Copy Markdown
Collaborator

@voodoos voodoos commented Mar 31, 2026

Behavior is still imperfect but that's a merlin issue: type enclosing returns nothing when hovering over c in class c = object ... end

It's a step towards fixing #1587 but there is also work needed on Merlin, some of these type-enclosing request still return nothing.

I also enabled hovering hover records's curly brackets in expressions

voodoos added 2 commits March 31, 2026 11:31
Behavior is still imperfect but that's a merlin issue: type enclosing returns nothing when hovering over `c` in `class c = object ... end`
@voodoos voodoos merged commit 96830d5 into ocaml:master Mar 31, 2026
4 of 6 checks passed
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.

1 participant