48 lines
1.9 KiB
Markdown
48 lines
1.9 KiB
Markdown
---
|
|
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
|
|
},
|
|
~~~
|