From 3d6f061442dd7ac976cbe3d37532c8c69f18fed7 Mon Sep 17 00:00:00 2001 From: Thies Lennart Alff Date: Wed, 14 Sep 2022 11:24:30 +0200 Subject: [PATCH] vscode basic settings --- config.yaml | 4 ++- content/posts/vscode-settings.md | 48 ++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 content/posts/vscode-settings.md diff --git a/config.yaml b/config.yaml index e8ea48e..4634679 100644 --- a/config.yaml +++ b/config.yaml @@ -27,4 +27,6 @@ params: markup: goldmark: renderer: - unsafe: true \ No newline at end of file + unsafe: true + highlight: + style: friendly diff --git a/content/posts/vscode-settings.md b/content/posts/vscode-settings.md new file mode 100644 index 0000000..e168267 --- /dev/null +++ b/content/posts/vscode-settings.md @@ -0,0 +1,48 @@ +--- +title: VScode Settings +date: 2022-09-14 +categories: ['Software'] +tags: ['software', 'vscode', 'programming'] +--- + +~~~ json +"workbench.iconTheme": "vscode-simpler-icons", +"workbench.colorTheme": "Quiet Light", +"workbench.tree.indent": 20, +"editor.rulers": [ + 80, + 120 +], +//////////////////////////////////////////////////////////////////////////// +// Editor ////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +"editor.fontFamily": "DejaVu Sans Mono", +"editor.formatOnSave": false, +"editor.minimap.enabled": false, +"editor.acceptSuggestionOnEnter": "off", +"explorer.openEditors.visible": 0, // hide open editors +"files.insertFinalNewline": true, +//////////////////////////////////////////////////////////////////////////// +// cpp ///////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +"C_Cpp.autocompleteAddParentheses": true, +"C_Cpp.clang_format_fallbackStyle": "Google", +"[cpp]": { + "editor.defaultFormatter": "ms-vscode.cpptools", + "editor.tabSize": 2 +}, +//////////////////////////////////////////////////////////////////////////// +// Python ////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +"python.linting.flake8Enabled": true, +"python.linting.pylintEnabled": false, +"python.analysis.completeFunctionParens": true, +//////////////////////////////////////////////////////////////////////////// +// Restructured Text /////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +"restructuredtext.preview.scrollEditorWithPreview": false, +"restructuredtext.preview.scrollPreviewWithEditor": false, +"[restructuredtext]": { + "editor.tabSize": 3 +}, +~~~