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

Close param hints if you reach out of bounds of list instead of cycling #53757

Merged
merged 2 commits into from
Jul 10, 2018

Conversation

itamark
Copy link
Contributor

@itamark itamark commented Jul 6, 2018

This is a solution to the issue of not being able to escape the param hints with only arrows:
Here's the issue

@jrieken jrieken self-assigned this Jul 9, 2018
@jrieken jrieken added this to the July 2018 milestone Jul 9, 2018

if (length < 2) {
// If there is only one signature, or we're on last signature of list
if (length < 2 || last) {
Copy link
Member

Choose a reason for hiding this comment

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

You might as well update the lower bits in these functions because now you won't ever reach them with the spill over/under.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point! Will update.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jrieken okay - how's that?

@jrieken jrieken added the editor-parameter-hints Function, method and class parameter hint widget label Jul 10, 2018
@jrieken
Copy link
Member

jrieken commented Jul 10, 2018

lgtm. thanks

@jrieken jrieken merged commit 39f976c into microsoft:master Jul 10, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-parameter-hints Function, method and class parameter hint widget
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants