简体   繁体   中英

Visual Studio IDE 2022 (C#) - Auto-complete of parentheses is broken

I'm using Visual Studio IDE 2022, Parentheses completion is not working correctly. For example, I want to write:

Foo(Boo());

but result is:

Foo(Boo(); - one brace is missing.

在此处输入图像描述

I have checked and unchecked "Automatic brace completion" but it does not help.

By the way VSCode does this job correctly:

在此处输入图像描述

If you want this problem to be solved please vote here: Autocompleteofparenthesesisbroken

Seems it is an old problem because the same problem was with C++ . I think for C++ the problem was solved but C# was forgotten.

If you want this problem to be solved for C# in Visual Studio IDE please vote here: Autocompleteofparenthesesisbroken

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM