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

Show method parameters as completion details #1294

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

vinistock
Copy link
Member

Motivation

We weren't showing method parameters as part of completion label details. I think it's nice to add them, so that you can see more of the signature as you're selecting items.

This is what it looks like. The addition is only the parameters within the parenthesis.

image

Implementation

Added the missing value using the parameter for the entry we're completing.

Automated Tests

Added a test to verify we're presenting this.

@vinistock vinistock added the enhancement New feature or request label Jan 10, 2024
@vinistock vinistock self-assigned this Jan 10, 2024
@vinistock vinistock requested a review from a team as a code owner January 10, 2024 21:37
@vinistock vinistock merged commit 47fb992 into main Jan 11, 2024
30 of 36 checks passed
@vinistock vinistock deleted the vs/add_parameters_to_completion_details branch January 11, 2024 12:59
@harrison-hd
Copy link

Awesome! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants