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(
|
||||
tree: ParseTree,
|
||||
text: string,
|
||||
|
@ -11,6 +11,10 @@ functions:
|
||||
- editor:pageLoaded
|
||||
updateDirectivesInSpace:
|
||||
path: ./command.ts:updateDirectivesInSpace
|
||||
updateDirectivesInSpaceCommand:
|
||||
path: ./command.ts:updateDirectivesInSpaceCommand
|
||||
command:
|
||||
name: "Directives: Update Entire Space"
|
||||
indexData:
|
||||
path: ./data.ts:indexData
|
||||
events:
|
||||
|
Loading…
Reference in New Issue
Block a user