-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Use settings for trusted domains #81841
Comments
That isn't doable now. I did the QuickPick last month and the virtual setting file this month because if it's in settings extensions can write anything to it. |
The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines. Happy Coding! |
Doesn't seem like this is possible looking at the registry... export interface IConfigurationNode {
id?: string;
order?: number;
type?: string | string[];
title?: string;
description?: string;
properties?: { [path: string]: IConfigurationPropertySchema; };
allOf?: IConfigurationNode[];
scope?: ConfigurationScope;
extensionInfo?: IConfigurationExtensionInfo;
} do you know of a way to do it? |
Spoke with Kai and decided to not go this route. |
Testing #80595
We should not invent a new story for managing the trusted domains, but use the settings.
That way the setting will be part of (future) settings sync.
defaults come from the settings defaults
make it a map
{ [ domain:string]: boolean; } | false
so you can fine-tune the defaults (and e.g. remove a default entry like localhost) (consistent with other settings like watcher/searc filters)make the setting available in user settings only
disallow that extension make changes to the settings, if that is a concern.
(But note that extensions can cause worse things to your machine than hiding a 'Do you want to open an external website...' dialog)
The text was updated successfully, but these errors were encountered: