From d77c7bea2410b703f5b0e70bf2478908126727bf Mon Sep 17 00:00:00 2001 From: raidgar98 Date: Sun, 29 Jan 2023 11:24:36 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=20=F0=9F=92=BB=20Add=20few=20setti?= =?UTF-8?q?ngs=20and=20automation=20tasks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/launch.json | 9 +++++++++ .vscode/settings.json | 3 +++ .vscode/tasks.json | 24 ++++++++++++++++++++++-- 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index de3fdb1..2647c52 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,15 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "name": "Python: Current File", + "type": "python", + "request": "launch", + "program": "${file}", + "console": "integratedTerminal", + "justMyCode": true, + "cwd": "${fileDirname}" + }, { "name": "(gdb) Launch DrogonCPP server", "type": "cppdbg", diff --git a/.vscode/settings.json b/.vscode/settings.json index f4deb59..0c527af 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -82,5 +82,8 @@ "drogon", "tparam", "trantor" + "deserializacji", + "serializacjÄ™", + "tparam" ] } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index ddc8a7c..bdf9765 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -2,16 +2,36 @@ "version": "2.0.0", "tasks": [ { - "label": "Generate PDF from this LaTeX file", + "label": "Re-run pdflatex for this LaTeX file", "isBackground": true, "options": { "cwd": "${fileDirname}" }, "command": "pdflatex", - "args": ["-synctex=1", "-interaction=nonstopmode", "--shell-escape", "${file}"], + "dependsOrder": "sequence", + "args": ["-synctex=1", "-interaction=nonstopmode", "--shell-escape", "${fileBasenameNoExtension}"], "problemMatcher": [ "$eslint-compact" ] + }, + { + "label": "Generate Bibliography for this LaTeX file", + "isBackground": true, + "dependsOrder": "sequence", + "options": { + "cwd": "${fileDirname}" + }, + "command": "biber", + "args": ["${fileBasenameNoExtension}"], + }, + { + "label": "Generate PDF from this LaTeX file", + "isBackground": true, + "dependsOn":[ + "Generate Bibliography for this LaTeX file", + "Re-run pdflatex for this LaTeX file", + ], + "dependsOrder": "sequence", } ] }