0

I want to change the indentation style format in Visual Studio Code.
I searched but I only find how to change tab sizes .

In other words:

My code :

if    (..)   {
    }

After formatting with visual code

if(..)
{
}

While I expect

if(..){
}

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
karism
  • 1
  • 4
  • Does this answer your question? [How to change indentation in Visual Studio Code?](https://stackoverflow.com/questions/34174207/how-to-change-indentation-in-visual-studio-code) – Abhishek Duppati Apr 06 '20 at 03:53
  • The spaces and the bracket style are 2 separate settings that are *not* considered to be part of "indentation". It's going to depend on the language formatter you are using. Is this C++? Also, I removed [visual studio] tag as that is completely different from [visual-studio-code]. – Gino Mempin Apr 06 '20 at 04:16

0 Answers0