(file: import("obsidian").TFile, content?: string)
| 609 | } |
| 610 | |
| 611 | async updateOutline(file: import("obsidian").TFile, content?: string) { |
| 612 | const outlineLeaves = this.app.workspace.getLeavesOfType(VIEW_TYPE_CODE_OUTLINE); |
| 613 | if (outlineLeaves.length > 0) { |
| 614 | const view = outlineLeaves[0]!.view; |
| 615 | if (view instanceof CodeOutlineView) { |
| 616 | await view.updateSymbols(file, content); |
| 617 | } |
| 618 | } |
| 619 | } |
| 620 | |
| 621 | createCodeFile() { |
| 622 | // Determine base path based on settings |
no test coverage detected