build: make VSCode settings opt-in - #29504
filipesilva wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Actually I think the .vscode/extensions.json file is a good one to keep in the repo. So we should not ignore that one.
There was a problem hiding this comment.
Yes now that you bring up I totally agree. extensions.json is meant to signal extensions the repository team considers useful and is already an opt-in procedure. Will change.
petebacondarwin
left a comment
There was a problem hiding this comment.
Personally I think this PR should be restricted to the .vscode/settings.json rather than the whole folder. I like to have my own launch.json, which would get overridden by the current process; and also I think that the extensions.json is a valid file to keep in the repo.
gkalpak
left a comment
There was a problem hiding this comment.
Once this is merged, it should to be announced on Slack as it affects the whole team (in a small way).
There was a problem hiding this comment.
Might be worth adding a mention about where/how to find the recommended extensions for the workspace (e.g. Ctrl/Cmd+Shift+P and type Show recommended extensions).
|
(Rebased on master to get CI green.) |
| // Exclude third party modules and build artifacts from the editor watchers/searches. | ||
| "files.watcherExclude": { | ||
| "**/.git/objects/**": true, | ||
| "**/.git/subtree-cache/**": true, |
There was a problem hiding this comment.
Can we add this setting to:
"typescript.tsdk": "node_modules/typescript/lib",
This tells VS code to use the workspace TS compiler rather than VS Code's built-in one.
There was a problem hiding this comment.
I'd prefer that to be done in a separate PR. It's not something I can test well right now and a bit out of scope anyway.
|
馃帀 |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
The current vscode settings are mandatory for all users. Some of these settings can break or significantly alter current editor usage.
What is the new behavior?
Settings are opt-in and include instructions on how they should be used and altered.
Does this PR introduce a breaking change?
Other information