MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / setEditorConfig

Method setEditorConfig

src/pkg/config/config.ts:341–348  ·  view source on GitHub ↗
(v: string)

Source from the content-addressed store, hash-verified

339 }
340
341 setEditorConfig(v: string) {
342 if (v === "") {
343 this._set("editor_config", editorDefaultConfig);
344 return;
345 }
346 JSON.parse(v);
347 return this._set("editor_config", v);
348 }
349
350 // 获取typescript类型定义
351 getEditorTypeDefinition(): string {

Callers

nothing calls this directly

Calls 2

_setMethod · 0.95
parseMethod · 0.45

Tested by

no test coverage detected