()
| 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 { |
nothing calls this directly
no test coverage detected