Skip to content

Commit ab9a837

Browse files
sandy081egamma
authored andcommitted
#36623 💄
1 parent ce070f6 commit ab9a837

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/vs/workbench/api/node/extHostConfiguration.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ export class ExtHostConfiguration implements ExtHostConfigurationShape {
9898
},
9999
update: (key: string, value: any, arg: ExtHostConfigurationTarget | boolean) => {
100100
key = section ? `${section}.${key}` : key;
101-
this._validateConfigurationAccess(key, resource, extensionId);
102101
const target = parseConfigurationTarget(arg);
103102
if (value !== void 0) {
104103
return this._proxy.$updateConfigurationOption(target, key, value, resource);

src/vs/workbench/parts/preferences/browser/preferencesRenderers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ class UnsupportedWorkbenchSettingsRenderer extends Disposable {
11881188
stickiness: editorCommon.TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges,
11891189
inlineClassName: 'dim-configuration',
11901190
beforeContentClassName: 'unsupportedWorkbenhSettingInfo',
1191-
hoverMessage: new MarkdownString().appendText(nls.localize('unsupportedWorkbenchSettingDevMode', "This setting cannot be applied now. It will be applied if you change its scope to 'resource' scope or when you open this folder directly."))
1191+
hoverMessage: new MarkdownString().appendText(nls.localize('unsupportedWorkbenchSettingDevMode', "This setting cannot be applied now. It will be applied if you define it's scope as 'resource' while registering, or when you open this folder directly."))
11921192
});
11931193

11941194
private createDecoration(range: IRange, model: editorCommon.IModel): editorCommon.IModelDeltaDecoration {

0 commit comments

Comments
 (0)