From e1177a0ebc343c7bee637caf16f703e6fd7860d3 Mon Sep 17 00:00:00 2001 From: Anri Date: Thu, 21 Jul 2022 13:29:27 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'VSCode'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VSCode.md | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 66 insertions(+), 2 deletions(-) diff --git a/VSCode.md b/VSCode.md index a79621c..18f9f52 100644 --- a/VSCode.md +++ b/VSCode.md @@ -1,3 +1,67 @@ # Liste des paramètres VSCode -- [Nerd Font](https://notulensiku.com/2019/02/fix-integrated-terminal-font-vscode/) -- [Minted (LaTeX)](https://leportella.com/minted-vscode/) \ No newline at end of file +## Éditeur +- `"editor.wordWrap": "on"` +- `"diffEditor.ignoreTrimWhitespace": false` +- `"files.insertFinalNewline": true` +- `"files.trimFinalNewlines": true` +- `"files.trimTrailingWhitespace": true` +- Apparence : [Palenight High Contrast](https://marketplace.visualstudio.com/items?itemName=equinusocio.vsc-community-material-theme) et [icônes](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme) +- `"extensions.ignoreRecommendations": true` +- `"terminal.integrated.defaultProfile.linux": "fish"`, j'utilises Fish et pas bash +- [`"terminal.integrated.fontFamily": "MesloLGM Nerd Font"`](https://notulensiku.com/2019/02/fix-integrated-terminal-font-vscode/), pour que [Nerd Font](https://www.nerdfonts.com/) fonctionne +- `"telemetry.enableCrashReporter": false` +- `"telemetry.enableTelemetry": false` +- `"telemetry.telemetryLevel": "off"` +- `"settingsSync.keybindingsPerPlatform": false`, mes raccourcis changent entre Linux et Windows/WSL + +## Éxtensions +- `"remote.SSH.configFile": "\\\\wsl.localhost\\Ubuntu\\home\\anri\\.ssh\\config"`, pour faire fonctionné le SSH sous WSL (a noté que vous devez probablement changé l'utilisateur si vous reprenez le même settings +- je précise la plateforme d'une machine pour le SSH + ```json + "remote.SSH.remotePlatform": { + "bocal": "linux" + } + ``` + +- `"git.confirmSync": false` +- `"git.enableSmartCommit": true` + +- `"latex-workshop.bibtex-format.tab": "4 spaces"`, j'aime les 4 espaces +- pour [faire fonctionner](https://leportella.com/minted-vscode/) [Minted](https://tug.ctan.org/macros/latex/contrib/minted/minted.pdf) + ```json + "latex-workshop.latex.tools": [ + { + "name": "latexmk", + "command": "latexmk", + "args": [ + "--shell-escape", + "-synctex=1", + "-interaction=nonstopmode", + "-file-line-error", + "-pdf", + "-outdir=%OUTDIR%", + "%DOC%" + ] + }, + { + "name": "pdflatex", + "command": "pdflatex", + "args": [ + "--shell-escape", + "-synctex=1", + "-interaction=nonstopmode", + "-file-line-error", + "%DOC%" + ] + }, + { + "name": "bibtex", + "command": "bibtex", + "args": [ + "%DOCFILE%" + ] + } + ] + ``` +- `"latex-workshop.message.warning.show": false`, c'est horripilant +- `"latex-workshop.view.pdf.viewer": "tab"` \ No newline at end of file