Skip to content

Don't preselect enums on backspace#368

Merged
rchande merged 1 commit intodotnet:masterfrom
rchande:FixBackspacePreselection
Feb 10, 2015
Merged

Don't preselect enums on backspace#368
rchande merged 1 commit intodotnet:masterfrom
rchande:FixBackspacePreselection

Conversation

@rchande
Copy link
Contributor

@rchande rchande commented Feb 10, 2015

When backspacing in VB, we used to prefer preselected items over text
matches. Dev12 does this for object creation preseletion, but not enum
preselection. We should match that behavior.

Fixes #287.

@Pilchie
Copy link
Member

Pilchie commented Feb 10, 2015

👍

Copy link
Contributor

Choose a reason for hiding this comment

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

WorkItem(###)? Do we have a convention for tagging tests with github workitem numbers that distinguishes from TFS workitem numbers?

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe [WorkItem(287, "https://github.com/dotnet/roslyn/issues/287")]? What do you think @Pilchie? I like having a direct link from source (can click in the editor).

Copy link
Member

Choose a reason for hiding this comment

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

Yes, I was going to propose that too. In the long term, maybe we make another overload that doesn't require the int param.

@rchande rchande force-pushed the FixBackspacePreselection branch 2 times, most recently from 7ff0972 to ce65a47 Compare February 10, 2015 21:53
When backspacing in VB, we used to prefer preselected items over text
matches. Dev12 does this for object creation preseletion, but not enum
preselection. We should match that behavior.

Fixes dotnet#287.
@rchande rchande force-pushed the FixBackspacePreselection branch from ce65a47 to 2471450 Compare February 10, 2015 21:58
@dpoeschl
Copy link
Contributor

👍

rchande added a commit that referenced this pull request Feb 10, 2015
@rchande rchande merged commit ab78016 into dotnet:master Feb 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VB Completion on Backspace prefers Enum preselection over prefix/exact match

3 participants