Skip to content

Fix misplaced inlay hints by applying PositionMapping#4571

Merged
fendor merged 2 commits into
haskell:masterfrom
jetjinser:issue-4561
Apr 27, 2025
Merged

Fix misplaced inlay hints by applying PositionMapping#4571
fendor merged 2 commits into
haskell:masterfrom
jetjinser:issue-4561

Conversation

@jetjinser

Copy link
Copy Markdown
Contributor

resolve #4561.

fixed hls-explicit-imports-plugin, hls-explicit-record-fields-plugin.

@jetjinser jetjinser requested a review from ozkutuk as a code owner April 25, 2025 07:48

@fendor fendor left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, didn't check this works correctly now, and I am not sure whether we even could add a test for this that isn't incredibly flaky.

Comment thread plugins/hls-explicit-record-fields-plugin/src/Ide/Plugin/ExplicitFields.hs Outdated
Comment thread plugins/hls-explicit-record-fields-plugin/src/Ide/Plugin/ExplicitFields.hs Outdated
Comment thread plugins/hls-explicit-record-fields-plugin/src/Ide/Plugin/ExplicitFields.hs Outdated
Comment thread plugins/hls-explicit-record-fields-plugin/src/Ide/Plugin/ExplicitFields.hs Outdated
@fendor fendor enabled auto-merge (rebase) April 25, 2025 08:09
auto-merge was automatically disabled April 25, 2025 08:25

Head branch was pushed to by a user without write access

@fendor fendor merged commit 173b5a7 into haskell:master Apr 27, 2025
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.

Inlay Hints for imports seem to be misplaced

2 participants