MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getIDEThemeConfigPaths

Function getIDEThemeConfigPaths

cli/src/utils/theme-system.ts:629–643  ·  view source on GitHub ↗
(
  env: CliEnv = getCliEnv(),
)

Source from the content-addressed store, hash-verified

627}
628
629export const getIDEThemeConfigPaths = (
630 env: CliEnv = getCliEnv(),
631): string[] => {
632 const paths = new Set<string>()
633 for (const path of resolveVSCodeSettingsPaths(env)) {
634 paths.add(path)
635 }
636 for (const path of resolveJetBrainsLafPaths(env)) {
637 paths.add(path)
638 }
639 for (const path of resolveZedSettingsPaths(env)) {
640 paths.add(path)
641 }
642 return [...paths]
643}
644
645type ChatThemeOverrides = Partial<Omit<ChatTheme, 'markdown'>> & {
646 markdown?: MarkdownThemeOverrides

Callers

nothing calls this directly

Calls 4

getCliEnvFunction · 0.90
resolveJetBrainsLafPathsFunction · 0.85
resolveZedSettingsPathsFunction · 0.85

Tested by

no test coverage detected