File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11
11
"[javascript]" : {
12
12
// Format JS code with prettier-eslint.
13
13
"editor.defaultFormatter" : " esbenp.prettier-vscode" ,
14
-
15
- "editor.formatOnSave" : true ,
16
14
},
17
15
}
Original file line number Diff line number Diff line change @@ -62,11 +62,13 @@ Take a look through some of VS Code's docs. In particular:
62
62
for your platform, and print it out. It's a one-page PDF which is
63
63
extremely helpful to refer to.
64
64
65
- * Open any JS file in our codebase, and try messing up some formatting by
66
- adding random whitespace -- then hit Ctrl+S (or Cmd+S) to save. You
67
- should see the formatting get magically fixed! Our workspace settings
68
- enable this feature, and configure it to use our standard formatting
69
- rules.
65
+ * Consider enabling the setting "Editor: Format On Save". (Go to the
66
+ settings UI, and type "format on save" into the search box to find
67
+ the setting. Then check the box for the setting.)
68
+
69
+ After doing so, open any JS file in our codebase, and try messing up
70
+ some formatting by adding random whitespace -- then hit Ctrl+S (or
71
+ Cmd+S) to save. You should see the formatting get magically fixed!
70
72
71
73
72
74
### Troubleshooting
You can’t perform that action at this time.
0 commit comments