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

Shows "Accept Combination (Incoming first)" when combination is order-sensitive. #173035

Merged
merged 2 commits into from Feb 1, 2023

Conversation

hediet
Copy link
Member

@hediet hediet commented Feb 1, 2023

In some situations, "Accept Combination" can put Incoming or Current first (e.g. when both append a parameter to the same signature).

I think it is helpful to indicate that clicking "Accept Combination" in the left editor puts Incoming first, while clicking "Accept Combination" in the right editor puts Current first in such cases.
Personally, it makes it easier to decide which side to take when I know the combination is not order-sensitive (which is the common case).

In cases where the order does not matter, only "Accept Combination" should be shown.

image

The addition Accept Combination (Incoming first) looks a bit ugly at first, but since it is not the common case I would favor clarity over looks here. When (Incoming first) or (Current first) is missing, the user can learn that the order does not matter in such cases.

@hediet hediet self-assigned this Feb 1, 2023
@VSCodeTriageBot VSCodeTriageBot added this to the February 2023 milestone Feb 1, 2023
Tyriar
Tyriar previously approved these changes Feb 1, 2023
@hediet hediet merged commit 54d3518 into main Feb 1, 2023
@hediet hediet deleted the hediet/additional-giraffe branch February 1, 2023 16:39
@github-actions github-actions bot locked and limited conversation to collaborators Mar 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants