src/vs/workbench/contrib/preferences/browser/settingsTree.ts/SettingUntrustedRenderer/renderTemplate
class SettingUntrustedRenderer:	renderTemplate(container: HTMLElement): ISettingItemTemplate {
		const template = this.renderCommonTemplate(null, container, 'untrusted');

		const manageWorkspaceTrustLabel = localize('manageWorkspaceTrust', "Manage Workspace Trust");
		const trustLabelElement = $('.setting-item-trust-description');
		const untrustedWorkspaceIcon = DOM.append(trustLabelElement, $('span.codicon.codicon-workspace-untrusted'));
		template.toDispose.add(attachStylerCallback(this._themeService, { editorErrorForeground }, colors => {
			untrustedWorkspaceIcon.style.setProperty('--workspace-trust-state-untrusted-color', colors.editorErrorForeground?.toString() || '');
		}));
		const element = DOM.append(trustLabelElement, $('span'));
		element.textContent = localize('trustLabel', "This setting can only be applied in a trusted workspace");
		const linkElement: HTMLAnchorElement = DOM.append(trustLabelElement, $('a'));
		linkElement.textContent = manageWorkspaceTrustLabel;
		linkElement.setAttribute('tabindex', '0');
		linkElement.href = '#';
		template.toDispose.add(DOM.addStandardDisposableListener(linkElement, DOM.EventType.CLICK, () => {
			this._commandService.executeCommand('workbench.trust.manage');
		}));
		template.toDispose.add(DOM.addStandardDisposableListener(linkElement, DOM.EventType.KEY_DOWN, (e: IKeyboardEvent) => {
			if (e.equals(KeyCode.Enter) || e.equals(KeyCode.Space)) {
				this._commandService.executeCommand('workbench.trust.manage');
				e.stopPropagation();
			}
		}));

		template.containerElement.insertBefore(trustLabelElement, template.descriptionElement);

		return template;
	}