vs code turn off formatter

C
ctrl + shift + p
type "formatter config"
edit the json
Source

Also in C: