You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/en/guide/ide-integration.mdx
+17-13Lines changed: 17 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,23 +24,27 @@ To use Rstack as the default formatter and format files on save, add the followi
24
24
```json title=".vscode/settings.json"
25
25
{
26
26
"editor.defaultFormatter": "rstack.rstack",
27
-
"[javascript]": {
28
-
"editor.defaultFormatter": "rstack.rstack"
29
-
},
30
-
"[javascriptreact]": {
31
-
"editor.defaultFormatter": "rstack.rstack"
32
-
},
33
-
"[typescript]": {
34
-
"editor.defaultFormatter": "rstack.rstack"
35
-
},
36
-
"[typescriptreact]": {
37
-
"editor.defaultFormatter": "rstack.rstack"
38
-
},
39
27
"editor.formatOnSave": true
40
28
}
41
29
```
42
30
43
-
The language-specific JavaScript and TypeScript settings prevent existing formatter preferences from overriding the workspace default.
31
+
The following language-specific settings are optional. They prevent existing language-specific formatter preferences from overriding the workspace default. Add settings only for the languages your project needs:
0 commit comments