MCPcopy Create free account
hub / github.com/DTStack/molecule / openSettingsInEditor

Method openSettingsInEditor

src/services/settingsService.ts:153–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151 }
152
153 public openSettingsInEditor(): void {
154 const { BuiltInSettingsTab } = this.builtinService.getModules();
155 if (BuiltInSettingsTab) {
156 BuiltInSettingsTab.data!.value = this.flatObject2JSONString(
157 this.getSettings()
158 );
159 this.editorService.open(BuiltInSettingsTab);
160 }
161 }
162
163 public normalizeFlatObject<T = ISettings>(jsonStr: string): T {
164 try {

Callers

nothing calls this directly

Calls 4

flatObject2JSONStringMethod · 0.95
getSettingsMethod · 0.95
getModulesMethod · 0.65
openMethod · 0.65

Tested by

no test coverage detected