Skip to content

Dismiss Completion when Signature Help is explicitly invoked#42511

Merged
dpoeschl merged 4 commits intodotnet:release/dev16.6-preview2from
dpoeschl:SigHelpDismissesCompletion
Mar 19, 2020
Merged

Dismiss Completion when Signature Help is explicitly invoked#42511
dpoeschl merged 4 commits intodotnet:release/dev16.6-preview2from
dpoeschl:SigHelpDismissesCompletion

Conversation

@dpoeschl
Copy link
Copy Markdown
Contributor

@dpoeschl dpoeschl commented Mar 17, 2020

Fixes #42484

Customer and scenario info
Who is impacted by this bug?
C# users who have IntelliCode argument completions enabled, as well as argument list completion enabled (we plan to make these defaults by GA).

Bugs Fixed
Fixes #42484

What is the customer scenario and impact of the bug?
When a user types an argument list, say Foo(, Completion and Signature Help now show at the same time. If the user wants to interact with Signature Help via the keyboard, they need to either hit Esc to dismiss Completion (pre-existing behavior), or explicitly invoke Signature Help again (the change in this PR).

What is the workaround?
The user can hit Esc instead of explicitly invoking Signature Help, or they can use the mouse to interact with Signature Help.

How was the bug found?
Unit tests & dogfooding.

If this fix is for a regression - what had regressed, when was the regression introduced, and why was the regression originally missed?
It's not a "regression", but rather an intentional behavioral change for which we are trying to minimize the impact.

Testing
An integration test was added, and I did manual testing.

@dpoeschl
Copy link
Copy Markdown
Contributor Author

@CyrusNajmabadi Implemented this on our side as discussed. Let me know if you have concerns with this approach.

@dpoeschl dpoeschl marked this pull request as ready for review March 18, 2020 20:47
@dpoeschl dpoeschl requested a review from a team as a code owner March 18, 2020 20:47
@jinujoseph jinujoseph added this to the 16.6.P3 milestone Mar 18, 2020
@dpoeschl
Copy link
Copy Markdown
Contributor Author

@CyrusNajmabadi Thanks for taking a look. I've taken this out of Draft state and added an integration test. Can you take another look and sign off if appropriate? Thanks!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

FYI @AmadeusW that we're using the editor's completion broker for this.

@dpoeschl
Copy link
Copy Markdown
Contributor Author

@jinujoseph master is Preview 3 now, right? Is it too late to push for this to get into Preview 2?

@dpoeschl dpoeschl changed the base branch from master to release/dev16.6-preview2 March 19, 2020 19:52
@dpoeschl dpoeschl changed the base branch from release/dev16.6-preview2 to master March 19, 2020 19:52
@dpoeschl dpoeschl changed the base branch from master to release/dev16.6-preview2 March 19, 2020 19:53
@dpoeschl dpoeschl changed the base branch from release/dev16.6-preview2 to master March 19, 2020 19:54
@dpoeschl dpoeschl force-pushed the SigHelpDismissesCompletion branch from 4f4033e to faebe68 Compare March 19, 2020 19:58
@dpoeschl dpoeschl changed the base branch from master to release/dev16.6-preview2 March 19, 2020 19:58
@dpoeschl dpoeschl merged commit b25c152 into dotnet:release/dev16.6-preview2 Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explicit invocation of Signature Help should cancel any existing Completion List session

3 participants