2023-10-03 12:16:33 +00:00
|
|
|
name: query
|
|
|
|
functions:
|
|
|
|
queryWidget:
|
|
|
|
path: query.ts:widget
|
|
|
|
codeWidget: query
|
2023-12-27 12:38:38 +00:00
|
|
|
renderMode: markdown
|
2023-10-03 12:16:33 +00:00
|
|
|
|
2023-11-21 15:56:21 +00:00
|
|
|
lintQuery:
|
|
|
|
path: query.ts:lintQuery
|
|
|
|
events:
|
|
|
|
- editor:lint
|
|
|
|
|
2023-10-03 12:16:33 +00:00
|
|
|
templateWidget:
|
|
|
|
path: template.ts:widget
|
|
|
|
codeWidget: template
|
2023-12-27 12:38:38 +00:00
|
|
|
renderMode: markdown
|
2023-10-03 12:16:33 +00:00
|
|
|
|
|
|
|
queryComplete:
|
|
|
|
path: complete.ts:queryComplete
|
|
|
|
events:
|
|
|
|
- editor:complete
|
|
|
|
|
2023-10-04 15:14:24 +00:00
|
|
|
languageComplete:
|
|
|
|
path: complete.ts:languageComplete
|
|
|
|
events:
|
|
|
|
- editor:complete
|
|
|
|
|
2023-11-15 09:08:21 +00:00
|
|
|
refreshAllWidgets:
|
2023-12-28 15:14:30 +00:00
|
|
|
path: widget.ts:refreshAllWidgets
|
2023-11-15 09:08:21 +00:00
|
|
|
command:
|
|
|
|
name: "Live Queries and Templates: Refresh All"
|
|
|
|
key: "Alt-q"
|
|
|
|
|
2023-12-28 15:14:30 +00:00
|
|
|
# Query widget buttons
|
|
|
|
editButton:
|
|
|
|
path: widget.ts:editButton
|
|
|
|
|
2023-10-03 12:16:33 +00:00
|
|
|
# Slash commands
|
|
|
|
insertQuery:
|
|
|
|
redirect: template.insertTemplateText
|
|
|
|
slashCommand:
|
|
|
|
name: query
|
|
|
|
description: Insert a query
|
|
|
|
value: |
|
|
|
|
```query
|
|
|
|
|^|
|
|
|
|
```
|
|
|
|
insertUseTemplate:
|
|
|
|
redirect: template.insertTemplateText
|
|
|
|
slashCommand:
|
|
|
|
name: template
|
|
|
|
description: Use a template
|
|
|
|
value: |
|
|
|
|
```template
|
|
|
|
page: "[[|^|]]"
|
|
|
|
```
|