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
Autocomplete does not show up when an enumerator is expected as a function parameter, or when you type the "new" keyword after declaring a class member.
Steps to repro:
Just write the following code and observe what happens when you reach the "..." mark.
public class SomeClass
{
private Dictionary<int, int> myDict = new ... // <- In Visual Studio, the autocomplete suggests "Dictionary<int, int>()". In Code, nothing shows up; you have to type it again.
public enum SomeType
{
Type1,
Type2
}
public void SetType(SomeType type)
{
}
public void Start()
{
SetType(... // <- In Visual Studio, the autocomplete options show up with the SomeType enum. In Code, nothing shows up.
}
}
Expected:
Similar behavior as in Visual Studio 2015/2017. These issues are among the few Code lacks from VS.
From the description of the bug, I believe this is related to the completion providers that the C# extension registers. Please let me know if you believe the issue is with VSCode itself
From @matej-zajacik on April 18, 2017 8:35
Autocomplete does not show up when an enumerator is expected as a function parameter, or when you type the "new" keyword after declaring a class member.
Steps to repro:
Just write the following code and observe what happens when you reach the "..." mark.
Expected:
Copied from original issue: microsoft/vscode#24939
The text was updated successfully, but these errors were encountered: