Skip to content

Remove all completion commit characters in suggestion mode.#2253

Merged
JoeRobich merged 2 commits intoOmniSharp:masterfrom
JoeRobich:fix-suggestion-mode
Oct 20, 2021
Merged

Remove all completion commit characters in suggestion mode.#2253
JoeRobich merged 2 commits intoOmniSharp:masterfrom
JoeRobich:fix-suggestion-mode

Conversation

@JoeRobich
Copy link
Copy Markdown
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
Copy Markdown
Member Author

@filipw @333fred Please take a look

Copy link
Copy Markdown
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
Copy Markdown
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