Last active
May 1, 2025 00:11
-
-
Save killertilapia/de71971b047e3322c6f8340a352947ff to your computer and use it in GitHub Desktop.
My VScode common settings
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
// base | |
{ | |
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", | |
"editor.fontLigatures": true, | |
"editor.fontWeight": "450", // 400 for Regular, 450 for Retina; Only works with FiraCode-VF.ttf installed | |
"editor.rulers": [88, 120], | |
"workbench.colorCustomizations": { | |
"editorRuler.foreground": "#32CD32" | |
}, | |
"workbench.colorTheme": "Solarized Dark", // optional | |
} | |
// secondary set for JS/TS | |
{ | |
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", | |
"editor.fontLigatures": true, | |
"editor.rulers": [80, 120], | |
"workbench.colorCustomizations": { | |
"editorRuler.foreground": "#32CD32" | |
}, | |
"[javascript][typescript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.detectIndentation": false, | |
"editor.tabSize": 2, | |
"editor.formatOnSave": true | |
} | |
"prettier.tabWidth": 2, | |
"npm.packageManager": "yarn", // if project had mpm then migrated to yarn | |
} | |
// python | |
{ | |
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", | |
"editor.fontLigatures": true, | |
"editor.rulers": [88, 120], | |
"workbench.colorCustomizations": { | |
"editorRuler.foreground": "#32CD32" | |
}, | |
"notebook.formatOnSave.enabled": true, // if jupyter notebooks installed | |
"notebook.codeActionsOnSave": { | |
"notebook.source.fixAll": "explicit", | |
"notebook.source.organizeImports": "explicit" | |
}, | |
"[python]": { | |
"editor.codeActionsOnSave": { | |
"source.fixAll": "explicit", // Ruff to fix lint violations on-save | |
"source.organizeImports": "explicit" // Ruff to organize imports | |
}, | |
"editor.defaultFormatter": "charliermarsh.ruff", // updated to ruff | |
"editor.formatOnSave": true, | |
}, | |
} |
You can open the settings.json file with the Preferences: Open User Settings (JSON) command in the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Python settings need the following extensions: