C
C#2mo ago
NoahTraks

[VS22] Brackets auto format

Hi Whenever I want to declare an array below a comment, Visual Studio moves the line. Does anyone know which setting causes this? (see attached video)
9 Replies
333fred
333fred2mo ago
No setting intentionally causes this, and I can't reproduce it
NoahTraks
NoahTraksOP2mo ago
things I have tried so far: - reset all VS22 settings - deactivated all extensions
333fred
333fred2mo ago
Maybe @Metasyntactic has an idea
Metasyntactic
Metasyntactic2mo ago
Looks to be copilot related File issue using VS Definitely link to the video Then link me to the issue you file, and I can direct to the copilot people
glhays
glhays2mo ago
can not reproduce as well.
NoahTraks
NoahTraksOP2mo ago
I dont have Copilot installed I just reinstalled VS22 and found the setting that causes this. Its called "Automatic brace completion" located under "Text Editor > C#"
NoahTraks
NoahTraksOP2mo ago
Metasyntactic
Metasyntactic2mo ago
Copilot is the umbrella term, including the great text you are seeing Technically, it's called "whole line completion". But it's a vs feature Please file

Did you find this page helpful?