VSCode modifications + tricks

VSCode modifications + tricks
Photo by Mohammad Rahmani / Unsplash

These are some general modifications I do for my VSCode setup.


"editor.lineNumbers": "relative",
// depends on the computer I'm using, and what I'm editing
// "editor.formatOnSave": true,

Shell scripts

"[shellscript]": {
    // default option
    "files.eol": "\n",
    // additional options
    "editor.tabSize": 2,

Python Scripts

"[python]": {
    "editor.defaultFormatter": "ms-python.python",
    "editor.formatOnSave": true
// commented out in case need to specify on a per project basis
// "python.formatting.provider": "black",


  • Specify exact line for vscode to open up on (src)
code -g <filename>:<line_number>