Disable formatting on save for Dart and HTML files (#122048)
* Remove "format on save" and "format on type" from directory settings * Also turn off HTML formatting
This commit is contained in:
11
.vscode/settings.json
vendored
Normal file
11
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// VSCode workspace settings that are shared among all users of this project.
|
||||
// This only affects subdirectories of this project.
|
||||
{
|
||||
// VSCode formats files on save by default. Since Flutter source code is
|
||||
// hand-formatted, the default settings are changed to prevent inadvertent
|
||||
// reformatting of code.
|
||||
"editor.formatOnSave": false,
|
||||
"editor.formatOnType": false,
|
||||
|
||||
"html.format.enable": false
|
||||
}
|
||||
Reference in New Issue
Block a user