|
9 | 9 | "editor.codeActionsOnSave": { |
10 | 10 | "source.fixAll.eslint": "always", |
11 | 11 | "source.organizeImports": "always" |
12 | | - }, |
| 12 | + } |
13 | 13 | }, |
14 | 14 | "[yaml]": { |
15 | 15 | "editor.defaultFormatter": "esbenp.prettier-vscode", |
|
19 | 19 | "editor.defaultFormatter": "tamasfe.even-better-toml", |
20 | 20 | "editor.formatOnSave": true |
21 | 21 | }, |
22 | | - "[python][markdown]": { |
| 22 | + "[python]": { |
23 | 23 | "editor.defaultFormatter": "charliermarsh.ruff", |
24 | 24 | "editor.codeActionsOnSave": { |
25 | 25 | "source.organizeImports": "always" |
26 | 26 | } |
27 | 27 | }, |
| 28 | + "[markdown]": { |
| 29 | + "editor.defaultFormatter": "Jota0222.multi-formatter", |
| 30 | + // need prettier to format markdown and ruff to format python codeblocks inside the markdown files |
| 31 | + "multiFormatter.formatterList": ["esbenp.prettier-vscode", "charliermarsh.ruff"], |
| 32 | + "editor.formatOnSave": true |
| 33 | + }, |
28 | 34 | "editor.codeActionsOnSave": { |
29 | 35 | // this is the default, but we disable it explicitly to prevent any user settings from causing imports to get |
30 | 36 | // sorted in typescript files since upstream has unsorted imports and we don't want to have to deal with |
|
72 | 78 | "**/pyright-internal/src/tests/samples/*", |
73 | 79 | "**/pyright-internal/typeshed-fallback/*", |
74 | 80 | "**/docstubs/*", |
75 | | - "**/build/py_latest/upstream/*", |
| 81 | + "**/build/py_latest/upstream/*" |
76 | 82 | ], |
77 | 83 | // even though python.terminal.activateEnvInCurrentTerminal is enabled, we still need to add the venv's script folder to the PATH |
78 | 84 | // because vscode's npm tasks do not run with the activated venv |
|
0 commit comments