MCPcopy Create free account
hub / github.com/hediet/vscode-debug-visualizer / customScriptPaths

Method customScriptPaths

extension/src/Config.ts:29–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 );
28
29 public get customScriptPaths(): string[] {
30 return this._customScriptPaths.get().map(p => {
31 const tpl = new SimpleTemplate(p);
32 return tpl.render({
33 workspaceFolder: () => {
34 const workspaceFolder = (workspace.workspaceFolders ||
35 [])[0];
36 if (!workspaceFolder) {
37 throw new Error(
38 `Cannot get workspace folder - '${p}' cannot be evaluated!`
39 );
40 }
41 return workspaceFolder.uri.fsPath;
42 },
43 });
44 });
45 }
46
47 @observable
48 private _vsCodeTheme = window.activeColorTheme;

Callers

nothing calls this directly

Calls 2

renderMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected