{ // All of these settings are scoped only to the Ruby language "[ruby]": { "editor.defaultFormatter": "Shopify.ruby-lsp", // Use the Ruby LSP as the default formatter "editor.formatOnSave": true, // Format files automatically when saving "editor.tabSize": 2, // Use 2 spaces for indentation "editor.insertSpaces": true, // Use spaces and not tabs for indentantion "editor.semanticHighlighting.enabled": true, // Enable semantic highlighting "editor.formatOnType": true // Enable formatting while typing }, "[erb]": { "editor.defaultFormatter": "aliariff.vscode-erb-beautify", "editor.formatOnSave": true }, "emmet.includeLanguages": { "erb": "html" }, "files.associations": { "*.html.erb": "erb" }, "vscode-erb-beautify.keepBlankLines": 1, "inlineFold.regex": "(class=|className=|class:\\s*)(({(`|))|(['\"`]))(.*?)(\\2|(\\4)})" // inline AlpineJs `class: ` }