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

Remove all completion commit characters in suggestion mode. #2253

Merged
merged 2 commits into from
Oct 20, 2021

Conversation

JoeRobich
Copy link
Member

@JoeRobich JoeRobich commented Oct 19, 2021

When suggestion mode completion items were returned, we were removing the space character from the item's commit characters. This still left other punctuation as potential commit characters for the items. To truly simulate a suggestion mode, we should force the editor to fallback to <tab> or <enter> for committing the suggestions.

This should resolve several issues.
dotnet/vscode-csharp#1974
dotnet/vscode-csharp#3219
dotnet/vscode-csharp#3647
dotnet/vscode-csharp#4833

@JoeRobich
Copy link
Member Author

@filipw @333fred Please take a look

Copy link
Contributor

@333fred 333fred left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@filipw filipw left a comment

Choose a reason for hiding this comment

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

LGTM

@JoeRobich JoeRobich merged commit 1521fca into OmniSharp:master Oct 20, 2021
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.

3 participants