vscode basic settings

This commit is contained in:
Thies Lennart Alff 2022-09-14 11:24:30 +02:00
parent 6433f442bb
commit 3d6f061442
2 changed files with 51 additions and 1 deletions

View file

@ -28,3 +28,5 @@ markup:
goldmark: goldmark:
renderer: renderer:
unsafe: true unsafe: true
highlight:
style: friendly

View file

@ -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
},
~~~