vscode basic settings
This commit is contained in:
parent
6433f442bb
commit
3d6f061442
2 changed files with 51 additions and 1 deletions
|
|
@ -28,3 +28,5 @@ markup:
|
|||
goldmark:
|
||||
renderer:
|
||||
unsafe: true
|
||||
highlight:
|
||||
style: friendly
|
||||
|
|
|
|||
48
content/posts/vscode-settings.md
Normal file
48
content/posts/vscode-settings.md
Normal 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
|
||||
},
|
||||
~~~
|
||||
Loading…
Reference in a new issue