-
Notifications
You must be signed in to change notification settings - Fork 80
Properly scope all settings #1629
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
Conversation
8c9acee
to
30e32a7
Compare
@@ -782,7 +803,8 @@ | |||
"Never automatically update CodeLLDB settings when they are incorrect." | |||
], | |||
"markdownDescription": "Choose how CodeLLDB settings are updated when debugging Swift executables.", | |||
"order": 3 | |||
"order": 3, | |||
"scope": "machine-overridable" |
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.
maybe application scope?
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 think the CodeLLDB settings should be per project because its possible some projects may work better with one debugger over the other.
@@ -782,7 +803,8 @@ | |||
"Never automatically update CodeLLDB settings when they are incorrect." | |||
], | |||
"markdownDescription": "Choose how CodeLLDB settings are updated when debugging Swift executables.", | |||
"order": 3 | |||
"order": 3, | |||
"scope": "machine-overridable" | |||
}, | |||
"swift.debugger.useDebugAdapterFromToolchain": { |
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.
maybe application?
@plemarquand is their any repercussion if one of the settings we're changing to |
@award999 Good point, there is a risk that some of the ones being set to "application" will no longer take effect if they're set in a settings.json for a project. A list of the ones that are now application are:
None of these would break a project if they were ignored on a per-project basis, but it might be a bit confusing if they stopped working as they did before. |
Be more explicit about settings scopes, marking appropriate ones as `application` (user settings applied across all swift projects) and `machine-overridable` (for per-project settings).
fd43c93
to
44e9833
Compare
@plemarquand I think those are low risk settings. Will point it out in release notes and message but I'm not concerned |
Verified with 323d996 |
Be more explicit about settings scopes, marking appropriate ones as
application
(user settings applied across all swift projects) andmachine-overridable
(for per-project settings).