diff --git a/.vscode/json.code-snippets b/.vscode/json.code-snippets index b21dfa2..0b8953a 100644 --- a/.vscode/json.code-snippets +++ b/.vscode/json.code-snippets @@ -1,18 +1,4 @@ { - // Place your snippets for Quarto here. - // Each snippet is defined under a snippet name and has a prefix, body and description. - // The prefix is what is used to trigger the snippet and the body will be expanded and inserted. - // Possible variables are: - // - // - $1 and $2 for tab stops, - // - $0 for the final cursor position, and - // - ${1:label}, ${2:another} for placeholders - // - // Placeholders with the same ids are connected. - // - // How to use the code snippets: - // After you have set the above settings, a suggestion for one of the code snippets below will pop up automatically, when - // you start writing the prefix. Press "Enter" or "Tab" to insert the code snippet. "Insert TODO formatting": { "scope": "quarto,markdown", "prefix": "TODO", @@ -31,21 +17,6 @@ ], "description": "Insert bash formatted text" }, - "Insert YAML header for blogs": { - "scope": "quarto,markdown", - "prefix": "post_yaml", - "body": [ - "---", - "title: \"\"", - "description: \"Our reasons for ...\"", - "author: \"\"", - "date: last-modified", - "categories:", - " ${0:Type 'category_keywords' to insert categories}", - "---" - ], - "description": "Insert YAML header for Quarto blog posts." - }, "Insert a hidden comment section": { "scope": "quarto,markdown", "prefix": "hidden", @@ -75,29 +46,5 @@ "| | | |" ], "description": "Insert a 3 col table" - }, - "Insert video": { - "scope": "quarto,markdown", - "prefix": "video", - "body": [ - "{{< video ${0:Insert link here} >}}" - ], - "description": "Insert video that will be shown" - }, - "Insert paneltab": { - "scope": "quarto,markdown", - "prefix": "paneltab", - "body": [ - "::: panel-tabset", - "### ${0:Header}", - "", - "${1:Text body}", - "", - "### ${2:Header}", - "", - "${3:Text body}", - ":::" - ], - "description": "Insert paneltab (including two tabs here). If you want additional tabs, just include more headers." } } diff --git a/.vscode/settings.json b/.vscode/settings.json index 346d266..f5816ff 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,33 +2,28 @@ "files.autoSave": "onFocusChange", "editor.wordWrap": "off", "editor.formatOnSave": true, - "editor.codeActionsOnSave": { - "source.organizeImports": "always" - }, "git.autofetch": false, "quarto.visualEditor.markdownWrap": "column", "quarto.visualEditor.markdownWrapColumn": 72, - "autoDocstring.customTemplatePath": ".vscode/google-notypes.mustache", "editor.tabCompletion": "on", "editor.snippetSuggestions": "inline", "conventional-branch.type": [ - "build", // Changes that affect the build system or external dependencies - "ci", // Changes to our CI configuration files and scripts - "docs", // Documentation only changes - "feat", // A new feature - "fix", // A bug fix - "refactor", // A code change that neither fixes a bug nor adds a feature - "style", // Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) - "test", // Adding missing tests or correcting existing tests - "chore", // Misc things, like renaming or deleting files + "build", + "ci", + "docs", + "feat", + "fix", + "refactor", + "style", + "test", + "chore", + "revert", + "perf" ], "conventional-branch.format": "{Type}/{Branch}", - "[quarto][qmd]": { + "[quarto][qmd][jinja]": { "editor.formatOnSave": false }, - "python.defaultInterpreterPath": "${workspaceFolder}/.venv", - "python.languageServer": "Pylance", - "files.insertFinalNewline": true, "files.associations": { "justfile.jinja": "plaintext", "*.yml.jinja": "jinja-yaml", @@ -36,4 +31,5 @@ "*.toml.jinja": "jinja-toml", "*.qmd.jinja": "jinja-md" }, + "files.insertFinalNewline": true }