|
@ -2,21 +2,18 @@ |
|
|
// All of these settings are scoped only to the Ruby language |
|
|
// All of these settings are scoped only to the Ruby language |
|
|
"[ruby]": { |
|
|
"[ruby]": { |
|
|
"editor.defaultFormatter": "Shopify.ruby-lsp", // Use the Ruby LSP as the default formatter |
|
|
"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.semanticHighlighting.enabled": true, // Enable semantic highlighting |
|
|
"editor.formatOnType": true // Enable formatting while typing |
|
|
"editor.formatOnType": true // Enable formatting while typing |
|
|
}, |
|
|
}, |
|
|
"[erb]": { |
|
|
"[erb]": { |
|
|
"editor.defaultFormatter": "aliariff.vscode-erb-beautify", |
|
|
"editor.defaultFormatter": "aliariff.vscode-erb-beautify", |
|
|
"editor.formatOnSave": true |
|
|
|
|
|
}, |
|
|
}, |
|
|
"emmet.includeLanguages": { |
|
|
"emmet.includeLanguages": { |
|
|
"erb": "html" |
|
|
"erb": "html" |
|
|
}, |
|
|
}, |
|
|
"files.associations": { |
|
|
"files.associations": { |
|
|
"*.html.erb": "erb" |
|
|
|
|
|
|
|
|
"*.html.erb": "erb", |
|
|
|
|
|
"*.tailwind.css": "tailwindcss" |
|
|
}, |
|
|
}, |
|
|
"vscode-erb-beautify.keepBlankLines": 1, |
|
|
"vscode-erb-beautify.keepBlankLines": 1, |
|
|
"inlineFold.regex": "(class=|className=|class:\\s*)(({(`|))|(['\"`]))(.*?)(\\2|(\\4)})", // inline AlpineJs `class: ` |
|
|
"inlineFold.regex": "(class=|className=|class:\\s*)(({(`|))|(['\"`]))(.*?)(\\2|(\\4)})", // inline AlpineJs `class: ` |
|
@ -32,4 +29,7 @@ |
|
|
}, |
|
|
}, |
|
|
// --------------------------------------------------------- |
|
|
// --------------------------------------------------------- |
|
|
"terminal.integrated.shellIntegration.enabled": false, |
|
|
"terminal.integrated.shellIntegration.enabled": false, |
|
|
|
|
|
"editor.formatOnSave": true, |
|
|
|
|
|
"editor.tabSize": 2, // Use 2 spaces for indentation |
|
|
|
|
|
"editor.insertSpaces": true, // Use spaces and not tabs for indentantion |
|
|
} |
|
|
} |