Skip to content

Query Templates and Snippets

Alex Bochkov edited this page Feb 8, 2025 · 1 revision

Query Templates and Snippets

This component provides quick access to frequently used queries. Two different implementations offered.

Query Templates

  • Query Templates are loaded into a submenu.
  • The templates are organized hierarchically based on the file structure in the templates folder.
  • The selected script from the menu inserted into active document.

image

Snippets - ! currently unstable and under active development !

  • Snippets are not part of the menu.
  • When a snippet keyword is entered (e.g., typing "conn" for a file named "conn.sql") and the Enter key is pressed, the keyword is replaced with the corresponding query text.

image