disable auto formatting in visual studio code code example
Example 1: vs code turn off formatter
ctrl + shift + p
type "formatter config"
edit the json
Example 2: vscode disable formatter on specific part
// @formatter:off
public const string Foo = “foo”;
public const string Bar = “bar”;
// @formatter:on