Fixes #522
This commit is contained in:
@@ -6,7 +6,6 @@ functions:
|
||||
path: ./command.ts:updateDirectivesOnPageCommand
|
||||
command:
|
||||
name: "Directives: Update"
|
||||
key: "Alt-q"
|
||||
events:
|
||||
- editor:pageLoaded
|
||||
updateDirectivesInSpace:
|
||||
|
||||
@@ -18,6 +18,12 @@ functions:
|
||||
events:
|
||||
- editor:complete
|
||||
|
||||
refreshAllWidgets:
|
||||
path: widget.ts:refreshAll
|
||||
command:
|
||||
name: "Live Queries and Templates: Refresh All"
|
||||
key: "Alt-q"
|
||||
|
||||
# Slash commands
|
||||
insertQuery:
|
||||
redirect: template.insertTemplateText
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
import { codeWidget } from "$sb/syscalls.ts";
|
||||
|
||||
export function refreshAll() {
|
||||
codeWidget.refreshAll();
|
||||
}
|
||||
Reference in New Issue
Block a user