You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.NET SDK:
Version: 7.0.100
Commit: e12b7af219
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\7.0.100\
VS Code version: 1.78.2
C# Extension version: v2.0.206
Note: I have disabled the extension "IntelliCode for C# Dev Kit".
OmniSharp log
Not applicable.
Steps to reproduce
Open any C# file.
Write an anonymous function
Expected behavior
The C# extension will not autocomplete with random, irrelevant suggestions.
Actual behavior
I'll use "|" to mark my cursor position.
var foo = myList.Where(|)
-> type "y"
var foo myList.Where(y|)
-> type " " (space)
var foo myList.Where(YDecoder |)
Alternative example:
Func<int, int> square = |
-> type "x"
Func<int, int> square = x|
-> type " "
Func<int, int> square = X25519 |
This happens with a lot of one-letter variable names. It can also happen with proper names, although at least so far I have not encountered that all to often. Seems to depend on how close the name matches whatever types are available.
The text was updated successfully, but these errors were encountered:
Environment data
dotnet --info
output:VS Code version:
1.78.2
C# Extension version:
v2.0.206
Note: I have disabled the extension "IntelliCode for C# Dev Kit".
OmniSharp log
Not applicable.
Steps to reproduce
Expected behavior
The C# extension will not autocomplete with random, irrelevant suggestions.
Actual behavior
I'll use "|" to mark my cursor position.
Alternative example:
This happens with a lot of one-letter variable names. It can also happen with proper names, although at least so far I have not encountered that all to often. Seems to depend on how close the name matches whatever types are available.
The text was updated successfully, but these errors were encountered: