How to revert this settings in Visual Studio Code

brandon0129 0 Reputation points
2023-04-25T06:38:57.1033333+00:00

How do I revert the setting to have a line between curly braces when making a new set of curly braces? This setting used to be active, but after messing around with the settings, it no longer is. When I create a curly brace "{" a second automatically shows up with it which is good. When I hit "ENTER", it used to push the ending curly brace two lines down and indent the next emply line. But now, it no longer does that. How do i get that setting back?

Developer technologies Visual Studio Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-04-25T12:05:57.2633333+00:00

    Hi @brandon0129

    Welcome to Microsoft Q&A! 

    You can try to reset all settings

    If it doesn’t work, please report it in the Stack Overview tagged visual-studio-code forum or GitHub repository where you would get professional support for Visual Studio Code. The tag “Visual Studio” is related to Visual Studio IDE. 

    Thanks for your understanding! 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Osman Tanrıverdi 0 Reputation points
    2023-07-20T18:45:34.3666667+00:00

    Tools -> Options -> Text Editor -> C# -> Code Style -> Formatting> Automatically format block an } The tick is removed and the arrow is called, then the tick is re-entered.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.