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

Handle method aliases in completion resolve #2590

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

vinistock
Copy link
Member

Motivation

We weren't handling method aliases in completion resolve, which meant that trying to invoke one (like Kernel#kind_of?) would show empty documentation.

Implementation

We just need to include MethodAlias in the filter.

Automated Tests

Added a test.

@vinistock vinistock added bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes labels Sep 20, 2024
@vinistock vinistock self-assigned this Sep 20, 2024
@vinistock vinistock requested a review from a team as a code owner September 20, 2024 19:23
@vinistock vinistock requested a review from andyw8 September 20, 2024 19:23
@vinistock vinistock enabled auto-merge (squash) September 20, 2024 19:26
@vinistock vinistock merged commit 8d1009e into main Sep 20, 2024
37 checks passed
@vinistock vinistock deleted the vs-add-method-alias-for-completion-resolve branch September 20, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug server This 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.

2 participants