-
Notifications
You must be signed in to change notification settings - Fork 0
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
Remove .vscode/settings.json #97
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #97 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 43 43
=========================================
Hits 43 43 ☔ View full report in Codecov by Sentry. |
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.
In general, the point of having this committed is for the developers contributing to a specific project to have the same settings to improve consistency and NOT customise them at workspace level. If they want customisation, they can do so at User level, right?
Consistency is enforced via CI. I'd argue the developer should be free to have whatever development experience they want in their editor without being forced to configure things at the user level which doesn't have project isolation. |
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.
OK, then.
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.
No strong opinion here 👍
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.
I'm not convinced. I get that it's a bit weird, but it's pretty common practice to commit the settings.json
file to git (e.g. here's the one in VS Code's own repo). It's handy to be able to set the default formatter for Python files etc. Yes, we enforce it properly with pre-commit/CI, but this is really just for convenience.
That said, there are clearly other people out there who want to be able to override the workspace settings.json
without having a dirty git tree, which seems a sensible proposal: microsoft/vscode#40233
There aren't that many settings in the file, so I don't think it matters too much if we drop it (but I will continue to commit settings.json
for my own projects 😉). Up to you!
Removes vscode settings file and adds to .gitignore.
Having the settings commited requires developers to have a dirty worktree in order to customise project specific settings.