From b9ebac83adb3868ec3b471cafe7bf879a6d90a5f Mon Sep 17 00:00:00 2001 From: CREATIVE_tg1 Date: Tue, 28 Oct 2025 07:08:46 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Python/settings.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Python/settings.json | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/Python/settings.json b/Python/settings.json index d60e0da..392f837 100644 --- a/Python/settings.json +++ b/Python/settings.json @@ -23,7 +23,19 @@ "**/.gitlab/**": true, "**/.ci/**": true, "**/venv/**": true, + "**/.venv/**": true, "**/__pycache__/**": true, + "**/reports/**": true, + "**/.mypy_cache/**": true, + "**/.pytest_cache/**": true, + "**/.coverage/**": true, + "**/dist/**": true, + "**/build/**": true, + "**/.ruff_cache/**": true, + "**/.hypothesis/**": true, + "**/docs/_build/**": true, + "**/target/**": true, + "**/.cargo/**": true, }, "editor.largeFileOptimizations": true, "git.autorefresh": false, @@ -74,17 +86,35 @@ ], "sourcecraft-code-assist.deniedCommands": [], "mypy.dmypyExecutable": "../.venv/bin/dmypy", - "python.analysis.autoImportCompletions": true, - "python.analysis.typeCheckingMode": "off", + // ----------------------- Разные расширения (Конец) + //---------------------------------------------------------------------------------------------------------------------------------------------------------- + // ----------------------- Настройки языков (Начало) "[json]": { "editor.defaultFormatter": "vscode.json-language-features" }, "[rust]": { - "editor.defaultFormatter": "rust-lang.rust-analyzer" + "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 } \ No newline at end of file