|
|
@@ -109,6 +109,7 @@ Adding templates
|
|
|
|
|
|
You can add more templates by creating a :bash:`.toml` file under :bash:`data/palette/`.
|
|
|
Each template has required fields.
|
|
|
+
|
|
|
- A :bash:`group`: What group this template belongs to in the palette panel.
|
|
|
- The :bash:`name`: A short identifier for the template.
|
|
|
- The :bash:`prefix list`: A string containing the full prefix for the query.
|
|
|
@@ -116,6 +117,7 @@ Each template has required fields.
|
|
|
- The :bash:`description`: A longer description for the template which will be shown as the tooltip.
|
|
|
- Whether :bash:`visual_support` is enabled: Deprecated. Always true.
|
|
|
- A list of :bash:`replacements` each having 3 fields: One needs to be defined for each placeholder in the query.
|
|
|
+
|
|
|
- The :bash:`placeholder`: Which placeholder gets replaced.
|
|
|
- The :bash:`suggestion`: The initial value of the replacement.
|
|
|
- The :bash:`description`: What should be put in the field.
|