DEV: Update vscode config to use ruby-lsp for syntax_tree formatting (#29784)

This commit is contained in:
David Taylor 2024-11-15 13:28:15 +00:00 committed by GitHub
parent 9b0cfa99c5
commit 8325465dea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,6 @@
"Shopify.ruby-lsp", "Shopify.ruby-lsp",
"esbenp.prettier-vscode", "esbenp.prettier-vscode",
"dbaeumer.vscode-eslint", "dbaeumer.vscode-eslint",
"ruby-syntax-tree.vscode-syntax-tree",
"lifeart.vscode-glimmer-syntax", "lifeart.vscode-glimmer-syntax",
"typed-ember.glint-vscode" "typed-ember.glint-vscode"
] ]

View File

@ -4,7 +4,6 @@
"Shopify.ruby-lsp", "Shopify.ruby-lsp",
"esbenp.prettier-vscode", "esbenp.prettier-vscode",
"dbaeumer.vscode-eslint", "dbaeumer.vscode-eslint",
"ruby-syntax-tree.vscode-syntax-tree",
"lifeart.vscode-glimmer-syntax", "lifeart.vscode-glimmer-syntax",
"typed-ember.glint-vscode" "typed-ember.glint-vscode"
] ]

View File

@ -19,7 +19,7 @@
}, },
"[ruby]": { "[ruby]": {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.defaultFormatter": "ruby-syntax-tree.vscode-syntax-tree" "editor.defaultFormatter": "Shopify.ruby-lsp"
}, },
"[handlebars]": { "[handlebars]": {
"editor.defaultFormatter": "esbenp.prettier-vscode", "editor.defaultFormatter": "esbenp.prettier-vscode",
@ -33,4 +33,5 @@
"task.autoDetect": "off", "task.autoDetect": "off",
"eslint.debug": false, "eslint.debug": false,
"rubyLsp.formatter": "syntax_tree",
} }