Last active
May 8, 2022 17:59
-
-
Save rafalstapinski/2d48d91ebb2836c75423781f2907e2a6 to your computer and use it in GitHub Desktop.
vscode settings.json for everything. will keep up to date
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // Global Editor | |
| "git.ignoreLimitWarning": true, | |
| "files.insertFinalNewline": true, | |
| "editor.tabSize": 4, | |
| "editor.fontFamily": "Comic Mono", | |
| // Python | |
| "python.languageServer": "Pylance", | |
| "python.testing.pytestArgs": ["test"], | |
| "python.testing.pytestEnabled": true, | |
| "python.linting.enabled": true, | |
| "python.linting.pylintEnabled": true, | |
| // JS/TS | |
| "editor.codeActionsOnSave": { | |
| "source.fixAll.eslint": true | |
| }, | |
| // Languages | |
| "[python]": { | |
| "editor.tabSize": 4 | |
| }, | |
| "[javascript]": { | |
| "editor.tabSize": 2 | |
| }, | |
| "[javascriptreact]": { | |
| "editor.tabSize": 2 | |
| }, | |
| "[typescript]": { | |
| "editor.tabSize": 2 | |
| }, | |
| "[typescriptreact]": { | |
| "editor.tabSize": 2 | |
| }, | |
| "[json]": { | |
| "editor.tabSize": 2 | |
| }, | |
| // Run on Save Python | |
| "emeraldwalk.runonsave": { | |
| "commands": [ | |
| { | |
| "cmd": ".venv/bin/isort --sp pyproject.toml ${file}", | |
| "isAsync": true, | |
| "match": "\\.py$" | |
| }, | |
| { | |
| "cmd": ".venv/bin/black --config pyproject.toml ${file}", | |
| "isAsync": true, | |
| "match": "\\.py$" | |
| } | |
| ] | |
| }, | |
| // GitHub workflows | |
| "yaml.schemas": { | |
| "https://json.schemastore.org/github-workflow.json": [ | |
| "file:///Users/rafal/Projects/pyritsu/.github/workflows/t.yml" | |
| ] | |
| } | |
| } | |
| { | |
| // Global Editor | |
| "git.ignoreLimitWarning": true, | |
| "files.insertFinalNewline": true, | |
| "editor.tabSize": 4, | |
| "editor.fontFamily": "Comic Mono", | |
| // Python | |
| "python.languageServer": "Pylance", | |
| "python.testing.pytestArgs": ["test"], | |
| "python.testing.pytestEnabled": true, | |
| "python.linting.enabled": true, | |
| "python.linting.pylintEnabled": true, | |
| // JS/TS | |
| "editor.codeActionsOnSave": { | |
| "source.fixAll.eslint": true | |
| }, | |
| // Languages | |
| "[python]": { | |
| "editor.tabSize": 2 | |
| }, | |
| "[javascript]": { | |
| "editor.tabSize": 2 | |
| }, | |
| "[javascriptreact]": { | |
| "editor.tabSize": 2 | |
| }, | |
| "[typescript]": { | |
| "editor.tabSize": 2 | |
| }, | |
| "[typescriptreact]": { | |
| "editor.tabSize": 2 | |
| }, | |
| "[json]": { | |
| "editor.tabSize": 2 | |
| }, | |
| // Run on Save Python | |
| "emeraldwalk.runonsave": { | |
| "commands": [ | |
| { | |
| "cmd": ".venv/bin/isort --sp pyproject.toml ${file}", | |
| "isAsync": true, | |
| "match": "\\.py$" | |
| }, | |
| { | |
| "cmd": ".venv/bin/black --config pyproject.toml ${file}", | |
| "isAsync": true, | |
| "match": "\\.py$" | |
| } | |
| ] | |
| }, | |
| // GitHub workflows | |
| "yaml.schemas": { | |
| "https://json.schemastore.org/github-workflow.json": [ | |
| "file:///Users/rafal/Projects/pyritsu/.github/workflows/t.yml" | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment