'Visual Studio Code is formatting a Flutter Dart file

My visual studio code is auto formatting when I save my dart file. How do I disable it? Should I switch code editor?



Solution 1:[1]

You don't need to switch your editor. You can disable it by going to: File -> Preferences -> settings -> search dart formatter -> untick enable sdk formatter

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rohith Nambiar