[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
No setting intentionally causes this, and I can't reproduce it
things I have tried so far:
- reset all VS22 settings
- deactivated all extensions
Maybe @Metasyntactic has an idea
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
can not reproduce as well.
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#"
it also doesnt look like a new problem:
https://www.reddit.com/r/VisualStudio/comments/1f2zdvd/why_is_visual_studio_moving_my_variable/
Reddit
From the VisualStudio community on Reddit: Why is Visual Studio mov...
Explore this post and more from the VisualStudio community
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
Developer Community
Developer Community