From b7524a4c5b6b5f30791340d7288d304d309d40f4 Mon Sep 17 00:00:00 2001 From: Joseph Mearman Date: Sun, 1 Oct 2023 08:04:57 +0100 Subject: [PATCH] duplicate VSCode settings for running locally --- .vscode/extensions.json | 12 ++++++++ .vscode/settings.json | 64 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..12dfe6c --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,12 @@ +{ + "recommendations": [ + "James-Yu.latex-workshop", + "GitHub.copilot", + // Remove the line below if you do not want Live-Collaboration Feature + "ms-vsliveshare.vsliveshare", + // Uncomment the line below if you do not want LanguageTool Support + // "valentjn.vscode-ltex", + // Remove the line below if you do not want Grammarly + "znck.grammarly" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..1b2cf4d --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,64 @@ +{ + "latex-workshop.latex.clean.fileTypes": [ + "*.aux", + "*.bbl", + "*.blg", + "*.idx", + "*.ind", + "*.lof", + "*.lot", + "*.out", + "*.toc", + "*.acn", + "*.acr", + "*.alg", + "*.glg", + "*.glo", + "*.gls", + "*.fls", + "*.log", + "*.fdb_latexmk", + "*.snm", + "*.synctex(busy)", + "*.synctex.gz(busy)", + "*.nav", + "*.vrb", + "*.gz", // Added Manually + "*.bcf", // Added Manually + "*.nlo", // Added Manually + "*.run.xml" // Added Manually + ], + // Edit the following property to change export directory + "latex-workshop.latex.outDir": "./PDF", + "latex-workshop.latex.autoClean.run": "onBuilt", + "latex-workshop.latex.build.forceRecipeUsage": false, + "latex-workshop.synctex.afterBuild.enabled": true, + "latex-workshop.view.pdf.viewer": "tab", + "latex-workshop.latex.clean.subfolder.enabled": true, + "latex-workshop.latex.magic.args": [ + "-output-directory=PDF", // to change the output directory + "%DOC%" + ], + // Remove / comment the next 3 lines to remove dark view for pdf + "latex-workshop.view.pdf.color.dark.pageColorsBackground": "#171717", // For Dark Viewwer + "latex-workshop.latex.autoBuild.run": "never", + "latex-workshop.view.pdf.color.dark.pageColorsForeground": "#FFFFFF", // For Dark Viewer + "latex-workshop.view.pdf.color.dark.backgroundColor": "#171717", // For Dark Viewer + "editor.formatOnSave": true, + "latex-workshop.latex.pdfWatch.delay": 500, + //"latex-workshop.latex.watch.delay": 500, // Deprecated. See here: https://github.com/sanjib-sen/WebLaTex/issues/8 + "latex-workshop.codespaces.portforwarding.openDelay": 20000, + "grammarly.files.include": [ + "**/*.tex" + ], + // Remove the following to check .md files with Grammarly. + "grammarly.files.exclude": [ + "**/*.md" + ], + "grammarly.selectors": [ + { + "language": "latex", + "scheme": "file" + } + ] +}