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
|
||||
|
||||
# visual studio code
|
||||
.vscode/
|
||||
#.vscode/
|
||||
|
||||
# markdown temp files
|
||||
*.md.Html
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# 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
|
||||
# is commented out by default.
|
||||
.vscode/
|
||||
#.vscode/
|
||||
|
||||
# Visual Studio
|
||||
.vs/
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"[dart]": {
|
||||
"editor.formatOnSave": true
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue