0

I'm working on vs2022 with resharper. And there is a problem with me editing the if() in a {}.

float example (){
if()
}

the moment i tapped the () after if, resharper format the code like this:

float example (){ if () }

How can i disable this auto-formatting, I just can't the proper settings. It's grateful if someone can help.

I look through the document, but failed to find a proper setting.

  • Here's my solution for now. In vs2022, Tool/Option, then search clang-format, select the second option, only use clang-formatter when choosing. – porest4 May 19 '23 at 12:14

0 Answers0