CodeStandard/configs/VSCODE_settings.json

236 lines
6.1 KiB
JSON
Raw Normal View History

2024-06-07 20:00:25 +03:00
{
// Themes
"workbench.colorTheme": "Default Light+",
"editor.fontFamily": "'Fira Code', monospace",
"editor.fontSize": 14,
"editor.fontLigatures": true,
"editor.fontWeight": "500",
"terminal.integrated.fontFamily": "'Fira Code', monospace",
"terminal.integrated.fontSize": 12,
// "workbench.iconTheme": "",
// Git
"git.autofetch": true,
"git.enableSmartCommit": true,
"git.openRepositoryInParentFolders": "always",
"gitlens.codeLens.enabled": false,
"diffEditor.ignoreTrimWhitespace": false,
// Indentation
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.detectIndentation": true,
// Wrapping
"editor.wordWrap": "bounded",
"editor.wrappingIndent": "same",
"editor.wordWrapColumn": 120,
// Cursor
"editor.cursorBlinking": "expand",
"editor.cursorStyle": "line-thin",
"editor.cursorSmoothCaretAnimation": "explicit",
"editor.hideCursorInOverviewRuler": false,
// Scroll
"editor.smoothScrolling": true,
"editor.minimap.enabled": false,
"editor.scrollBeyondLastLine": true,
// Gutter
"editor.folding": false,
"editor.glyphMargin": false,
// Breadcrumbs
"breadcrumbs.enabled": true,
"breadcrumbs.icons": false,
"breadcrumbs.showKeys": false,
"breadcrumbs.showFiles": false,
"breadcrumbs.symbolPath": "on",
"breadcrumbs.showArrays": true,
"breadcrumbs.showEvents": true,
"breadcrumbs.showFields": true,
"breadcrumbs.showClasses": true,
"breadcrumbs.showMethods": true,
"breadcrumbs.showBooleans": true,
"breadcrumbs.showFunctions": true,
"breadcrumbs.showConstants": true,
"breadcrumbs.showEnumMembers": true,
"breadcrumbs.showConstructors": true,
// Autosave
"files.autoSave": "onFocusChange",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.codeActionsOnSave.rules": null,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
// Quotes
"html.completion.attributeDefaultValue": "singlequotes",
"typescript.preferences.quoteStyle": "single",
"javascript.preferences.quoteStyle": "single",
// Autocompletion
"html.autoClosingTags": true,
"javascript.autoClosingTags": true,
"typescript.autoClosingTags": true,
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"workbench.editor.empty.hint": "hidden",
"editor.gotoLocation.multipleDefinitions": "gotoAndPeek",
// Interactions
"workbench.startupEditor": "newUntitledFile",
"editor.suggestSelection": "first",
"editor.linkedEditing": true,
"editor.quickSuggestionsDelay": 0,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"security.workspace.trust.untrustedFiles": "open",
"editor.inlineSuggest.enabled": true,
"window.confirmBeforeClose": "keyboardOnly",
// Appearance
"editor.renderControlCharacters": false,
"editor.bracketPairColorization.enabled": true,
"editor.scrollbar.horizontal": "visible",
"editor.scrollbar.vertical": "visible",
"workbench.editor.highlightModifiedTabs": true,
"window.density.editorTabHeight": "compact",
"workbench.activityBar.location": "top",
"editor.accessibilitySupport": "off",
"window.commandCenter": false,
"workbench.layoutControl.enabled": false,
"explorer.compactFolders": false,
"workbench.editor.tabSizing": "fit",
// File associations
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
// Frontend
"css.lint.unknownAtRules": "ignore",
"typescript.updateImportsOnFileMove.enabled": "always",
"javascript.updateImportsOnFileMove.enabled": "always",
"javascript.format.semicolons": "insert",
"typescript.format.semicolons": "insert",
"colorize.colorized_colors": ["BROWSERS_COLORS", "HEXA", "RGB", "HSL"],
// Python
"python.globalModuleInstallation": true,
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": true,
"python.testing.cwd": "${workspaceFolder}",
"python.analysis.completeFunctionParens": true,
"[python]": {
"editor.formatOnType": true,
"editor.tabSize": 4
},
"pylint.importStrategy": "fromEnvironment",
"pylint.args": ["--extension-pkg-allowlist=pyconcept"],
"python.analysis.autoImportCompletions": true,
"python.analysis.packageIndexDepths": [
{
"name": "django",
"depth": 4
},
{
"name": "djangorestframework",
"depth": 2
}
],
"jupyter.askForKernelRestart": false,
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"jupyter.interactiveWindow.creationMode": "perFile",
// Powershell
"powershell.pester.debugOutputVerbosity": "Detailed",
// CMake
"cmake.configureOnOpen": true,
"[cmake]": {},
// XML
"[xslt]": {
"editor.semanticHighlighting.enabled": true
},
// Hide folders
"files.exclude": {
"**/.next": true,
"**/node_modules": true,
"**/.mypy_cache": true,
"**/__pycache__": true,
"**/.pytest_cache": true,
"**/.coverage": true,
"**/htmlcov": true,
"**/venv": true,
"**/dist": true
},
// Spelling
"cSpell.enabled": true,
"cSpell.language": "en,ru",
"cSpell.userWords": [],
"cSpell.enableFiletypes": ["jsx", "tsx", "ts", "js", "h", "hpp", "cpp", "py"],
// Syntax Highlighting
"editor.unicodeHighlight.ambiguousCharacters": false,
"syntax.debugHover": true,
"editor.semanticTokenColorCustomizations": {
"[Default Light+]": {
"enabled": true,
"rules": {
"variable.declaration": { "bold": true },
"parameter": "#ff32f5"
}
}
},
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "entity.name.tag",
"settings": {
"foreground": "#ac1bf0"
}
}
]
},
"syntax.highlightTerms": [
"type",
"scope",
"function",
"variable",
"number",
"string",
"comment",
"constant",
"directive",
"control",
"operator",
"modifier",
"punctuation"
],
"syntax.highlightLanguages": [
"c",
"cpp",
"python",
"typescript",
"typescriptreact",
"javascript",
"go",
"rust",
"php",
"ruby",
"shellscript",
"ocaml",
"lua"
],
"redhat.telemetry.enabled": false
}