Fixes #485
This commit is contained in:
parent
92399f8909
commit
351f4172d9
@ -77,6 +77,14 @@ export async function updateDirectivesOnPageCommand() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export async function updateDirectivesInSpaceCommand() {
|
||||||
|
await editor.flashNotification(
|
||||||
|
"Updating directives in entire space, this can take a while...",
|
||||||
|
);
|
||||||
|
await updateDirectivesInSpace();
|
||||||
|
await editor.flashNotification("Done!");
|
||||||
|
}
|
||||||
|
|
||||||
async function findReplacements(
|
async function findReplacements(
|
||||||
tree: ParseTree,
|
tree: ParseTree,
|
||||||
text: string,
|
text: string,
|
||||||
|
@ -11,6 +11,10 @@ functions:
|
|||||||
- editor:pageLoaded
|
- editor:pageLoaded
|
||||||
updateDirectivesInSpace:
|
updateDirectivesInSpace:
|
||||||
path: ./command.ts:updateDirectivesInSpace
|
path: ./command.ts:updateDirectivesInSpace
|
||||||
|
updateDirectivesInSpaceCommand:
|
||||||
|
path: ./command.ts:updateDirectivesInSpaceCommand
|
||||||
|
command:
|
||||||
|
name: "Directives: Update Entire Space"
|
||||||
indexData:
|
indexData:
|
||||||
path: ./data.ts:indexData
|
path: ./data.ts:indexData
|
||||||
events:
|
events:
|
||||||
|
Loading…
Reference in New Issue
Block a user