-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(sync): 🔨 created local '.vscode/' from remote '.vscode/'
- Loading branch information
1 parent
4c681e8
commit c624c26
Showing
2 changed files
with
115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
// 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", | ||
"body": [ | ||
"<!-- TODO: ${0:Write text here} -->" | ||
], | ||
"description": "Insert TODO formatting" | ||
}, | ||
"R package name syntax": { | ||
"scope": "quarto,markdown", | ||
"prefix": "pkg", | ||
"body": [ | ||
"`{${0:Package}}`" | ||
], | ||
"description": "The syntax used to display and link R packages to their websites." | ||
}, | ||
"Insert code exercise": { | ||
"scope": "quarto,markdown", | ||
"prefix": "exercise", | ||
"body": [ | ||
"## :technologist: Exercise: ${0:Title}", | ||
"", | ||
"> Time: ~${1:Minutes} minutes.", | ||
"", | ||
"${2:Text}", | ||
], | ||
"description": "Insert a hands-on coding exercise section." | ||
}, | ||
"Insert discussion exercise": { | ||
"scope": "quarto,markdown", | ||
"prefix": "discussion", | ||
"body": [ | ||
"## :speech_balloon: Discussion activity: ~${0:Title}", | ||
"", | ||
"**Time: ~${1:Minutes}**", | ||
"", | ||
"${2:Text}", | ||
], | ||
"description": "Insert a discussion activity section." | ||
}, | ||
"Insert reading task": { | ||
"scope": "quarto,markdown", | ||
"prefix": "reading", | ||
"body": [ | ||
"::: callout-note", | ||
"## :book: Reading task: ~${0:Minutes}", | ||
"", | ||
"${1:Text body}", | ||
"", | ||
"{{< include ../includes/_sticky_up.qmd >}}", | ||
":::", | ||
], | ||
"description": "Insert reading task section." | ||
}, | ||
"Insert instructor note": { | ||
"scope": "quarto,markdown", | ||
"prefix": "instructor_note", | ||
"body": [ | ||
"::: {.callout-note collapse=\"true\"}", | ||
"## :teacher: Instructor note", | ||
"", | ||
"${0:Text body}", | ||
":::", | ||
], | ||
"description": "Insert instructor note that is a Quarto callout note block." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"files.autoSave": "onFocusChange", | ||
"editor.tabSize": 2, | ||
"editor.wordWrap": "off", | ||
"editor.formatOnSave": true, | ||
"git.autofetch": false, | ||
"quarto.visualEditor.markdownWrap": "column", | ||
"quarto.visualEditor.markdownWrapColumn": 72, | ||
"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 | ||
], | ||
"conventional-branch.format": "{Type}/{Branch}", | ||
"files.insertFinalNewline": true, | ||
"cSpell.enableFiletypes": [ | ||
"quarto" | ||
], | ||
"cSpell.language": "en,en-GB", | ||
"conventionalCommits.scopes": [ | ||
"preamble", | ||
"sessions", | ||
"appendix" | ||
], | ||
} |