-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[code-infra] Polish VS Code DX #44865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[code-infra] Polish VS Code DX #44865
Conversation
Netlify deploy previewhttps://deploy-preview-44865--material-ui.netlify.app/ Bundle size report |
"davidanson.vscode-markdownlint", | ||
"esbenp.prettier-vscode", | ||
"yoavbls.pretty-ts-errors" | ||
// Formating |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a .json file, should we remove comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VS Code supports JSONC. Proof https://code.visualstudio.com/docs/languages/json#_json-with-comments
Signed-off-by: Olivier Tassinari <[email protected]>
It looks like this was due for a refresh.
.vscode/settings.json
As I understand it, a baseline version of this is supposed to be stored on git (then people can add their settings to further customize it). Proof:
I have tried to only have the least opinionated settings.
.editorconfig
Now that we have
.mdx
and.tsx
files, this is due for a refresh. We also started to stop relying ontrim_trailing_whitespace
for markdown line break (but instead use\
). So we can apply this everywhere. See #34762.I also got annoyed with the UX on https://mui.com/toolpad/
.gitignore
Remove .vscode, per VS Code codebase, they don't do this.
.vscode/extensions.json
I suspect that those mui/base-ui#1151 got introduced because the right VS Code extension wasn't installed.
.vscode/launch.json
This is for
I'm not aware anyone uses it. We would need to clean up it.
Same PR open in all the repositories ⬇️