Files
vscode-settings/Python/settings.json

153 lines
6.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ //----------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------- Настройки для пользователей (Начало)
"workbench.iconTheme": "vscode-icons",
"background.fullscreen": {
"images": [
"https://trafaret-decor.art/sites/default/files/2022-12/Фон%20горы%20%2874%29.jpg"
],
"opacity": 0.13,
"size": "cover",
"position": "center",
"interval": 0,
"random": false
},
"workbench.colorTheme": "GitHub Dark Colorblind (Beta)",
"editor.fontSize": 13, // 1920х1080=13; 2560х1440=15
"terminal.integrated.fontSize": 13, // 1920х1080=13; 2560х1440=15
"window.zoomLevel": 0, // 1920х1080=0; 2560х1440=0.5
// ----------------------- Настройки для пользователей (Конец)
//----------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------- Настройки VScode (Начало)
"files.exclude": {
".ci": true,
".git*": true,
".gitlab": true,
".mypy_cache": true,
".pytest_cache": true,
".ruff_cache": true,
".vscode": true,
"**/__pycache__": true
},
"files.autoSave": "afterDelay",
"python.REPL.sendToNativeREPL": true,
"workbench.settings.enableNaturalLanguageSearch": false,
"extensions.closeExtensionDetailsOnViewChange": true,
"extensions.ignoreRecommendations": true,
"chat.disableAIFeatures": true,
"files.watcherExclude": {
"**/node_modules/**": true,
"**/.git/**": true,
"**/.github/**": true,
"**/.gitlab/**": true,
"**/.ci/**": true,
"**/venv/**": true,
"**/.venv/**": true,
"**/__pycache__/**": true,
"**/reports/**": true,
"**/.mypy_cache/**": true,
"**/.pytest_cache/**": true,
"**/.ruff_cache/**": true,
"**/.hypothesis/**": true,
"**/.coverage/**": true,
"**/dist/**": true,
"**/build/**": true,
"**/docs/_build/**": true,
"**/target/**": true,
"**/.cargo/**": true
},
"search.exclude": {
"**/node_modules/**": true,
"**/.git/**": true,
"**/.github/**": true,
"**/.gitlab/**": true,
"**/.ci/**": true,
"**/venv/**": true,
"**/.venv/**": true,
"**/__pycache__/**": true,
"**/reports/**": true,
"**/.mypy_cache/**": true,
"**/.pytest_cache/**": true,
"**/.ruff_cache/**": true,
"**/.hypothesis/**": true,
"**/.coverage/**": true,
"**/dist/**": true,
"**/build/**": true,
"**/docs/_build/**": true,
"**/target/**": true,
"**/.cargo/**": true
},
"editor.largeFileOptimizations": true,
"git.autorefresh": false,
"workbench.editor.enablePreview": false,
"editor.formatOnSave": true,
"git.autofetch": true,
"workbench.startupEditor": "none",
"chat.commandCenter.enabled": false,
"explorer.confirmDelete": false,
"git.enableSmartCommit": true,
"git.confirmSync": false,
"explorer.confirmDragAndDrop": false,
// ----------------------- Настройки VScode(Конец)
//----------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------- Оформление рабочего пространства (Начало)
"window.commandCenter": false,
"workbench.layoutControl.enabled": false,
"editor.minimap.enabled": false,
"workbench.reduceMotion": "on",
"editor.smoothScrolling": true,
// ----------------------- Оформление рабочего пространства (Конец)
//----------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------- Разные расширения (Начало)
"mypy.runUsingActiveInterpreter": true,
"ruff.nativeServer": "on",
"ruff.configuration": "./pyproject.toml",
"sourcecraft-code-assist.allowedCommands": [
"npm test",
"npm install",
"tsc",
"git log",
"git diff",
"git show",
"poetry",
"ls"
],
"sourcecraft-code-assist.deniedCommands": [],
"mypy.dmypyExecutable": "../.venv/bin/dmypy",
// ----------------------- Разные расширения (Конец)
//----------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------- Настройки языков (Начало)
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.rulers": [
{
"column": 100,
"color": "#ff9900"
}
],
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
"editor.rulers": [
{
"column": 160,
"color": "#ff9900"
}
],
},
"python.analysis.autoImportCompletions": true,
"python.analysis.typeCheckingMode": "off",
"python.terminal.activateEnvironment": true,
"python.analysis.diagnosticMode": "openFilesOnly",
// ----------------------- Настройки языков (Конец)
//----------------------------------------------------------------------------------------------------------------------------------------------------------
}