visual studio code turn off auto format code example
Example: vscode disable formatter on specific part
// @formatter:off
public const string Foo = “foo”;
public const string Bar = “bar”;
// @formatter:on
// @formatter:off
public const string Foo = “foo”;
public const string Bar = “bar”;
// @formatter:on