Added .vscode folder:

* Snippets for bibtex
 * Recommended  extensions
 * Snippets for LaTeX extended markdown
 * General settings for cSpell, todoHighlights and pandocCiter
 * Tasks for building of thesis
This commit is contained in:
gottsi 2023-02-25 22:53:59 +01:00
parent a5b402397d
commit 8463d2c46b
5 changed files with 155 additions and 0 deletions

64
.vscode/bibtex.code-snippets vendored Normal file
View File

@ -0,0 +1,64 @@
{
"Online reference": {
"prefix": ["online"],
"body": [
"@online{${1:citeKey},",
" author = {${2:author}},",
" title = {{${3:title}}},",
" url = {${4:url}},",
" year = {${5:updateYear}},",
" month = {${6:updateMonth}},",
" day = {${7:updateDay}},",
" urldate = {$CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE}",
"}",
],
"description": "Template for online reference"
},
"Article reference": {
"prefix": ["article"],
"body": [
"@article{${1:citeKey},",
" author = {${2:author}},",
" title = {{${3:title}}},",
" journal = {{${4:journal}}},",
" year = {${5:year}},",
" volume = {${6}},",
" number = {${7}},",
" pages = {${8}},",
" month = {${9}},",
" note = {${10}},",
"}",
],
"description": "Template for article reference"
},
"Book reference": {
"prefix": ["book"],
"body": [
"@book{${1:citeKey},",
" author = {${2:author}},",
" editor = {${3:editor}},",
" title = {{${4:title}}},",
" publisher = {{${5:publisher}}},",
" year = {${6:year}},",
" volume = {${7}},",
" number = {${8}},",
" pages = {${9}},",
" month = {${10}},",
" note = {${11}},",
"}",
],
"description": "Template for book reference"
},
"Reference": {
"prefix": ["ref"],
"body": [
"@${1:kind}{${2:citeKey},",
" author = {${3:author}},",
" title = {{${4:title}}},",
" year = {${5:year}},",
"}",
],
"description": "Template for a reference "
},
//More templates are appreciated
}

16
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,16 @@
{
"recommendations": [
"sygene.auto-correct",
"streetsidesoftware.code-spell-checker",
"streetsidesoftware.code-spell-checker-german",
"mhutchie.git-graph",
"waderyan.gitblame",
"shaharkazaz.git-merger",
"codezombiech.gitignore",
"yzhang.markdown-all-in-one",
"notzaki.pandocciter",
"tomoki1207.pdf",
"wayou.vscode-todo-highlight",
"spmeesseman.vscode-taskexplorer"
]
}

39
.vscode/markdown.code-snippets vendored Normal file
View File

@ -0,0 +1,39 @@
{
// Place your snippets for markdown 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, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"Code Block": {
"prefix": ["codeBlock"],
"body": [
"~~~~~~~~~~~~~~~~~~~~~~~~~~~{caption=\"${1:caption}\" .${2:fileExtension}}",
"$0",
"~~~~~~~~~~~~~~~~~~~~~~~~~~~"
],
"description": "Create Code Block"
},
"Todo": {
"prefix": ["todo"],
"body": [
"\\todo{${0:Text}}"
],
"description": "Create Todo"
},
"Comment": {
"prefix": ["comment"],
"body": [
"<!-- $0 -->"
],
"description": "Create comment"
},
}

12
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,12 @@
{
"cSpell.words": [
"AHWIN",
"colour",
"colours"
],
"cSpell.language": "en,de",
"todohighlight.keywords": [
"\\todo"
],
"PandocCiter.RootFile": "metadata.yaml",
}

24
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,24 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build PDF",
"command": "wsl make pdf -C HTLLE-DA-Vorlage SOURCEDIR='$(pwd)'",
"type": "shell",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Check Spelling",
"command": "wsl make spellcheck -C HTLLE-DA-Vorlage SOURCEDIR='$(pwd)'",
"type": "shell",
"problemMatcher": [],
"group": {
"kind": "test",
}
}
]
}