From 8325465dea94faf4ded27bcc24fcf983f75d5170 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Fri, 15 Nov 2024 13:28:15 +0000 Subject: [PATCH] DEV: Update vscode config to use ruby-lsp for syntax_tree formatting (#29784) --- .devcontainer/devcontainer.json | 1 - .vscode/extensions.json | 1 - .vscode/settings.json.sample | 3 ++- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8270218e95f..0302db0538f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -28,7 +28,6 @@ "Shopify.ruby-lsp", "esbenp.prettier-vscode", "dbaeumer.vscode-eslint", - "ruby-syntax-tree.vscode-syntax-tree", "lifeart.vscode-glimmer-syntax", "typed-ember.glint-vscode" ] diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 1cb711620bd..563e65951d0 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -4,7 +4,6 @@ "Shopify.ruby-lsp", "esbenp.prettier-vscode", "dbaeumer.vscode-eslint", - "ruby-syntax-tree.vscode-syntax-tree", "lifeart.vscode-glimmer-syntax", "typed-ember.glint-vscode" ] diff --git a/.vscode/settings.json.sample b/.vscode/settings.json.sample index b11a0f3352a..649329140c0 100644 --- a/.vscode/settings.json.sample +++ b/.vscode/settings.json.sample @@ -19,7 +19,7 @@ }, "[ruby]": { "editor.formatOnSave": true, - "editor.defaultFormatter": "ruby-syntax-tree.vscode-syntax-tree" + "editor.defaultFormatter": "Shopify.ruby-lsp" }, "[handlebars]": { "editor.defaultFormatter": "esbenp.prettier-vscode", @@ -33,4 +33,5 @@ "task.autoDetect": "off", "eslint.debug": false, + "rubyLsp.formatter": "syntax_tree", }