Yuri's VS Code Configuration


Theme and Font

  • Install my RageQuit Theme

  • Install the Fira Code Font

    • (on Windows, use the static *.ttf fonts, not the variable one)
    • Set the editor font family to Fira Code
  • Other settings.json entries (or use my file):

      "editor.fontFamily":  "Fira Code",
      "editor.fontSize": 14,
      "editor.fontLigatures": true,
      "editor.lineHeight": 20,
      "editor.rulers": [80],
      "editor.smoothScrolling": true,
      "editor.cursorBlinking": "phase",
      "editor.cursorSmoothCaretAnimation": true,
      "editor.bracketPairColorization.enabled": true,
      "editor.formatOnSave": true,
      "files.autoSave": "afterDelay",
      "files.autoSaveDelay": 1500,
      "terminal.integrated.cursorBlinking": true,
      "terminal.integrated.cursorStyle": "line",
      "terminal.integrated.cursorWidth": 2,
      "typescript.suggest.paths": false,
      "workbench.colorTheme": "RageQuit",
      "workbench.iconTheme": "material-icon-theme",
      "workbench.list.smoothScrolling": true,
      "C_Cpp.clang_format_fallbackStyle":
          "{ BasedOnStyle: Google, IndentWidth: 4, ColumnLimit: 80}",
      "gitlens.defaultDateFormat": "DD MMM YYYY HH:mm",
      "gitlens.defaultTimeFormat": "HH:mm",
      "gitlens.defaultDateShortFormat": "YYYYMMDD"
    

Microprocessor Development (Arduino/ESP)


C/C++ Development

  • Install the C/C++ Extension

  • Install MSYS2

  • Update the *nix distribution using the MSYS2 bash shell:

      pacman -Syu
    
  • Install git and mingw-64 (C/C++ toolchains):

      pacman -S git
      pacman -S mingw-w64-x86_64-toolchain
    

Enable zsh in VS Code Terminal

(and make it kind of fancy...)

  • Make sure you have MSYS2 installed (see C/C++ Development above)

  • Install zsh, oh-my-zsh, and my .zshrc:

      pacman -S zsh
      cd ~
      sh -c "$(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
      wget -O .zshrc https://raw.githubusercontent.com/yuri-rage/vscode-configuration/master/.zshrc
      wget -O .oh-my-zsh/themes/faster-agnoster.zsh-theme https://gist.githubusercontent.com/atrakeur/1885c4b279d73c4f84c5b1223b5981ac/raw/b72d8f7cd844c1c4fc2bd5b4f26a1f79cb69cb99/agnoster.zsh-theme
    
  • Change line 5 in ~/.zshrc to your own home directory instead of mine.

  • Put the following into VS Code's settings.json file under "terminal.integrated.profiles.windows" (or use mine):

      "MSYS2 (zsh)": {
          "path": "C:\\msys64\\usr\\bin\\zsh.exe",
          "args": ["--login", "-i"],
          "env": {
              "MSYSTEM": "MINGW64",
              "CHERE_INVOKING": "1",
              "MSYS2_PATH_TYPE": "inherit",
              "MSYS": "winsymlinks:native"
              }
      }
    
  • To make this shell your default, add this to settings.json (or use mine):

      "terminal.integrated.defaultProfile.windows": "MSYS2 (zsh)",
    

Python Development


Web Development

(disclaimer: I don't do much of this)


All Extensions:

(that I'm using today)