Skip to content

Commit ed14d7b

Browse files
authored
chore: 🧑‍💻 remove comments and simplify .vscode settings (#167)
# Description Some things were not necessary for building the template. So I removed them. Plus, the comments are necessary and "technically" aren't part of the JSON spec. This PR needs a quick review. ## Checklist - [x] Ran `just run-all`
1 parent f477914 commit ed14d7b

File tree

2 files changed

+13
-70
lines changed

2 files changed

+13
-70
lines changed

.vscode/json.code-snippets

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
{
2-
// Place your snippets for Quarto here.
3-
// Each snippet is defined under a snippet name and has a prefix, body and description.
4-
// The prefix is what is used to trigger the snippet and the body will be expanded and inserted.
5-
// Possible variables are:
6-
//
7-
// - $1 and $2 for tab stops,
8-
// - $0 for the final cursor position, and
9-
// - ${1:label}, ${2:another} for placeholders
10-
//
11-
// Placeholders with the same ids are connected.
12-
//
13-
// How to use the code snippets:
14-
// After you have set the above settings, a suggestion for one of the code snippets below will pop up automatically, when
15-
// you start writing the prefix. Press "Enter" or "Tab" to insert the code snippet.
162
"Insert TODO formatting": {
173
"scope": "quarto,markdown",
184
"prefix": "TODO",
@@ -31,21 +17,6 @@
3117
],
3218
"description": "Insert bash formatted text"
3319
},
34-
"Insert YAML header for blogs": {
35-
"scope": "quarto,markdown",
36-
"prefix": "post_yaml",
37-
"body": [
38-
"---",
39-
"title: \"\"",
40-
"description: \"Our reasons for ...\"",
41-
"author: \"\"",
42-
"date: last-modified",
43-
"categories:",
44-
" ${0:Type 'category_keywords' to insert categories}",
45-
"---"
46-
],
47-
"description": "Insert YAML header for Quarto blog posts."
48-
},
4920
"Insert a hidden comment section": {
5021
"scope": "quarto,markdown",
5122
"prefix": "hidden",
@@ -75,29 +46,5 @@
7546
"| | | |"
7647
],
7748
"description": "Insert a 3 col table"
78-
},
79-
"Insert video": {
80-
"scope": "quarto,markdown",
81-
"prefix": "video",
82-
"body": [
83-
"{{< video ${0:Insert link here} >}}"
84-
],
85-
"description": "Insert video that will be shown"
86-
},
87-
"Insert paneltab": {
88-
"scope": "quarto,markdown",
89-
"prefix": "paneltab",
90-
"body": [
91-
"::: panel-tabset",
92-
"### ${0:Header}",
93-
"",
94-
"${1:Text body}",
95-
"",
96-
"### ${2:Header}",
97-
"",
98-
"${3:Text body}",
99-
":::"
100-
],
101-
"description": "Insert paneltab (including two tabs here). If you want additional tabs, just include more headers."
10249
}
10350
}

.vscode/settings.json

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,34 @@
22
"files.autoSave": "onFocusChange",
33
"editor.wordWrap": "off",
44
"editor.formatOnSave": true,
5-
"editor.codeActionsOnSave": {
6-
"source.organizeImports": "always"
7-
},
85
"git.autofetch": false,
96
"quarto.visualEditor.markdownWrap": "column",
107
"quarto.visualEditor.markdownWrapColumn": 72,
11-
"autoDocstring.customTemplatePath": ".vscode/google-notypes.mustache",
128
"editor.tabCompletion": "on",
139
"editor.snippetSuggestions": "inline",
1410
"conventional-branch.type": [
15-
"build", // Changes that affect the build system or external dependencies
16-
"ci", // Changes to our CI configuration files and scripts
17-
"docs", // Documentation only changes
18-
"feat", // A new feature
19-
"fix", // A bug fix
20-
"refactor", // A code change that neither fixes a bug nor adds a feature
21-
"style", // Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
22-
"test", // Adding missing tests or correcting existing tests
23-
"chore", // Misc things, like renaming or deleting files
11+
"build",
12+
"ci",
13+
"docs",
14+
"feat",
15+
"fix",
16+
"refactor",
17+
"style",
18+
"test",
19+
"chore",
20+
"revert",
21+
"perf"
2422
],
2523
"conventional-branch.format": "{Type}/{Branch}",
26-
"[quarto][qmd]": {
24+
"[quarto][qmd][jinja]": {
2725
"editor.formatOnSave": false
2826
},
29-
"python.defaultInterpreterPath": "${workspaceFolder}/.venv",
30-
"python.languageServer": "Pylance",
31-
"files.insertFinalNewline": true,
3227
"files.associations": {
3328
"justfile.jinja": "plaintext",
3429
"*.yml.jinja": "jinja-yaml",
3530
"*.cff.jinja": "jinja-yaml",
3631
"*.toml.jinja": "jinja-toml",
3732
"*.qmd.jinja": "jinja-md"
3833
},
34+
"files.insertFinalNewline": true
3935
}

0 commit comments

Comments
 (0)