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

The wrong behavior of autocomplete #3219

Closed
AlexRj0130 opened this issue Aug 7, 2019 · 2 comments
Closed

The wrong behavior of autocomplete #3219

AlexRj0130 opened this issue Aug 7, 2019 · 2 comments

Comments

@AlexRj0130
Copy link

Environment data

dotnet --info output:
.NET Core SDK (reflecting any global.json):
Version: 2.2.301
Commit: 70d6be0814

Runtime Environment:
OS Name: Windows
OS Version: 10.0.18362
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.2.301\

Host (useful for support):
Version: 2.2.6
Commit: 7dac9b1b51

.NET Core SDKs installed:
2.1.701 [C:\Program Files\dotnet\sdk]
2.2.301 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

VS Code version:
1.36.1
x64

C# Extension version:
1.21.0

Steps to reproduce

Just add a method of class that named "Add" and then type the bracket character "(" instead of any characters else, then you will get a method which named "AppDomainUnloadedException()" instead of "Add()".

Expected behavior

Keepping the typping result named "Add()" instead of replacing it.

Actual behavior

Get the wrong result named "AppDomainUnloadedException()" which was given by the provider.

@rchande
Copy link

rchande commented Aug 9, 2019

@AlexRj0130 Can you share the text of the file when you're in this state?

@JoeRobich
Copy link
Member

Cannot reproduce this with the current release.

@JoeRobich JoeRobich closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 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

5 participants