MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / openTaskEditModalForCurrentTask

Method openTaskEditModalForCurrentTask

src/main.ts:1648–1656  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1646 }
1647
1648 async openTaskEditModalForCurrentTask(): Promise<void> {
1649 const activeFile = this.app.workspace.getActiveFile();
1650 if (!activeFile) {
1651 new Notice("No file is currently open");
1652 return;
1653 }
1654
1655 await this.openTaskEditModalForFile(activeFile, "Current file is not a tasknote");
1656 }
1657
1658 async cycleCurrentTaskStatus(): Promise<void> {
1659 try {

Calls 2

getActiveFileMethod · 0.80

Tested by

no test coverage detected