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

Method getBuiltInSettings

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

Source from the content-addressed store, hash-verified

104 }
105
106 private getBuiltInSettings(): ISettings {
107 const editorOptions = this.editorService.getState().editorOptions;
108 const theme = this.colorThemeService.getColorTheme();
109 const locale = this.localeService.getCurrentLocale();
110 return new SettingsModel(theme.id, editorOptions!, locale?.id);
111 }
112
113 public getDefaultSettingsTab(): BuiltInSettingsTabType {
114 const { BuiltInSettingsTab } = this.builtinService.getModules();

Callers 2

constructorMethod · 0.95
getSettingsMethod · 0.95

Calls 3

getStateMethod · 0.80
getColorThemeMethod · 0.65
getCurrentLocaleMethod · 0.65

Tested by

no test coverage detected