My VSCode cheatsheet

This article was last updated on Jun 19th, 2023

Some shortcuts and config options I too often forget.
I use all of these on VSCodium Linux.

Shortcuts

line wrap
Alt+Z
format
Ctrl+Shift+I

Config options

editor.rulers

Displays one or more ruler at x characters from the line start.

"editor.rulers": [
    80,
    120
  ]
A VSCode text editor with rulers at 80 and 120 characters

files.associations

Associate file extensions with language modes by language identifiers.

"files.associations": {
  "*.html": "liquid",
  "*.md": "liquid",
  "**/assets/css/*.scss": "liquid-scss",
  "**/_sass/*.scss": "scss"
}