'Why my VS Code intellisense suggests "await" keyword for "i"? [closed]

enter image description here

When I just type "i", intellisense changes the character "i" to "await", and make that method async. It really bothers me when I code for statement.

It occurs when I program only in C#, not in other languages.

Thanks.



Solution 1:[1]

i had the same issue in VSCode and it disappeared when enabling the EXPERIMENTAL feature "Omnisharp: Enable Async Completion" in the settings of the "C# for Visual Studio Code"-extension. (That the feature also has "async" in its name is probably coincidential :). Seems strange to me, maybe a bug.)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 OrangeEgidius