src/vs/workbench/contrib/preferences/browser/settingsTree.ts/CopySettingAsJSONAction/run
class CopySettingAsJSONAction:	override async run(context: SettingsTreeSettingElement): Promise<void> {
		if (context) {
			const jsonResult = `"${context.setting.key}": ${JSON.stringify(context.value, undefined, '  ')}`;
			await this.clipboardService.writeText(jsonResult);
		}

		return Promise.resolve(undefined);
	}