You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
925 B

9 months ago
9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
  1. {
  2. // All of these settings are scoped only to the Ruby language
  3. "[ruby]": {
  4. "editor.defaultFormatter": "Shopify.ruby-lsp", // Use the Ruby LSP as the default formatter
  5. "editor.formatOnSave": true, // Format files automatically when saving
  6. "editor.tabSize": 2, // Use 2 spaces for indentation
  7. "editor.insertSpaces": true, // Use spaces and not tabs for indentantion
  8. "editor.semanticHighlighting.enabled": true, // Enable semantic highlighting
  9. "editor.formatOnType": true // Enable formatting while typing
  10. },
  11. "[erb]": {
  12. "editor.defaultFormatter": "aliariff.vscode-erb-beautify",
  13. "editor.formatOnSave": true
  14. },
  15. "emmet.includeLanguages": {
  16. "erb": "html"
  17. },
  18. "files.associations": {
  19. "*.html.erb": "erb"
  20. },
  21. "vscode-erb-beautify.keepBlankLines": 1,
  22. "inlineFold.regex": "(class=|className=|class:\\s*)(({(`|))|(['\"`]))(.*?)(\\2|(\\4)})" // inline AlpineJs `class: `
  23. }