Skip to content

Handle visibility in hover - #4097

Merged
vinistock merged 1 commit into
rubydex_adoption_feature_branchfrom
vs_handle_visibility_in_hover
May 8, 2026
Merged

Handle visibility in hover#4097
vinistock merged 1 commit into
rubydex_adoption_feature_branchfrom
vs_handle_visibility_in_hover

Conversation

@vinistock

@vinistockvinistock commented May 7, 2026

Copy link
Copy Markdown
Member

Motivation

This PR starts using the new visibility APIs to handle hover correctly.

Implementation

This PR is based on the go to definition branch, so I extracted the helpers into Common and used it for both.

Automated Tests

Added tests ensuring we only show hover for reachable methods and constants.

@vinistockvinistock self-assigned this May 7, 2026
@vinistock
vinistock requested a review from a team as a code ownerMay 7, 2026 22:48
@vinistockvinistock added server This pull request should be included in the server gem's release notes other Changes that aren't bugfixes, enhancements or breaking changes labels May 7, 2026
@vinistockvinistock mentioned this pull request May 7, 2026
19 tasks
Comment threadlib/ruby_lsp/requests/support/common.rb
@vinistock
vinistockforce-pushed the vs_handle_visibility_in_definition branch from 303127b to 8d34acdCompareMay 8, 2026 13:59
@vinistock
vinistockforce-pushed the vs_handle_visibility_in_hover branch from 2b8cb77 to bc7e06aCompareMay 8, 2026 13:59
Base automatically changed from vs_handle_visibility_in_definition to rubydex_adoption_feature_branchMay 8, 2026 16:03
@vinistock
vinistockforce-pushed the vs_handle_visibility_in_hover branch from bc7e06a to 5dfd9f8CompareMay 8, 2026 16:05
@vinistock
vinistock merged commit 2d53dfa into rubydex_adoption_feature_branchMay 8, 2026
33 checks passed
@vinistock
vinistock deleted the vs_handle_visibility_in_hover branch May 8, 2026 16:05
vinistock added a commit that referenced this pull request Jun 11, 2026
vinistock added a commit that referenced this pull request Jun 15, 2026
vinistock added a commit that referenced this pull request Jul 2, 2026
vinistock added a commit that referenced this pull request Jul 3, 2026
vinistock added a commit that referenced this pull request Jul 24, 2026
vinistock added a commit that referenced this pull request Aug 21, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

otherChanges that aren't bugfixes, enhancements or breaking changesserverThis pull request should be included in the server gem's release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vinistock@Morriar@st0012