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

Wrong autocomplete for predicates #1974

Closed
squalsoft opened this issue Jan 23, 2018 · 2 comments
Closed

Wrong autocomplete for predicates #1974

squalsoft opened this issue Jan 23, 2018 · 2 comments

Comments

@squalsoft
Copy link

squalsoft commented Jan 23, 2018

Environment data

dotnet --info output:

Программы командной строки .NET (2.1.4)

Product Information:
 Version:            2.1.4
 Commit SHA-1 hash:  5e8add2190

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.13
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.1.4/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.5
  Build    : 17373eb129b3b05aa18ece963f8795d65ef8ea54

VS Code version:
C# Extension version:
1.13.0

Steps to reproduce

Type ( in collections and then letter c.

Expected behavior

No intellisense suggestions

Actual behavior

Autocomplition for c = char. And if i type "c=>c." it will complete with "c=>char". How to disable that?

2018-01-23 14 43 24

@DustinCampbell
Copy link
Member

DustinCampbell commented Jan 23, 2018

@rchande : This should work, as we've got special code in completion that will avoid setting SPACE as a commit character if OmniSharp reports that we're in suggestion mode: https://github.com/OmniSharp/omnisharp-vscode/blob/master/src/features/completionItemProvider.ts#L68-L70. (That is, if the completion API returns a list with a SuggestionModeItem.)

This needs to be assigned out to someone to take a look.

@JoeRobich
Copy link
Member

Could not reproduce this behavior with the current release.

@JoeRobich JoeRobich closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants