VS Code snippets
functionalImport VS Code and Azure Data Studio snippet files, placeholders and all, and export yours in the same format.
SQLly snippets use the placeholder syntax VS Code made standard ($1, ${1:default}, $0), and VS Code documents its snippet files as plain JSON. Azure Data Studio uses the same files. So snippets move across without being rewritten: what you tab through in VS Code is what you tab through in SQLly.
Import
Open Preferences → Editor → Snippets & Quick Actions and click Import from VS Code…, then pick a user snippet file: sql.json in the editor's User/snippets folder, or any .code-snippets file, including one checked into a project's .vscode folder. Comments and trailing commas are fine.
- One SQLly snippet per prefix - an entry with several prefixes becomes several snippets with the same body.
- Bodies written as a list of lines are joined into one body, line breaks intact.
- Other languages are skipped - an entry whose
scopenames only non-SQL languages stays behind; entries with no scope come in. - Your snippets win - a prefix you already have is left alone, and the count of skipped duplicates is shown.
- Click Save to keep them - imported snippets join the list in the pane, so you can look them over first. A body that uses VS Code-only syntax (choice lists like
${1|a,b|},$TM_variables, transforms) is flagged when you save, so you can fix it.
Export
Click Export for VS Code… in the same pane to save your snippets as sqlly.code-snippets, scoped to SQL. Put it in VS Code's or Azure Data Studio's User/snippets folder, or in a project's .vscode folder to share it with the team.