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

Open
squalsoft opened this issue Jan 23, 2018 · 1 comment
Open

Wrong autocomplete for predicates #1974

squalsoft opened this issue Jan 23, 2018 · 1 comment

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.

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

3 participants