auto format on save for vsCode
this enables vscode to auto format files in the flutter project. Also fixes a formatting error enable formatting only for dart files format settings.json
This commit is contained in:
parent
bb31257cc3
commit
5397d4ff14
|
@ -318,7 +318,7 @@ CMakeLists.txt.user*
|
||||||
*.bak
|
*.bak
|
||||||
|
|
||||||
# visual studio code
|
# visual studio code
|
||||||
.vscode/
|
#.vscode/
|
||||||
|
|
||||||
# markdown temp files
|
# markdown temp files
|
||||||
*.md.Html
|
*.md.Html
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# The .vscode folder contains launch configuration and tasks you configure in
|
# The .vscode folder contains launch configuration and tasks you configure in
|
||||||
# VS Code which you may wish to be included in version control, so this line
|
# VS Code which you may wish to be included in version control, so this line
|
||||||
# is commented out by default.
|
# is commented out by default.
|
||||||
.vscode/
|
#.vscode/
|
||||||
|
|
||||||
# Visual Studio
|
# Visual Studio
|
||||||
.vs/
|
.vs/
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"[dart]": {
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue