mirror of
https://github.com/discourse/discourse.git
synced 2024-11-21 08:34:17 -06:00
DEV: Update vscode config to use ruby-lsp for syntax_tree formatting (#29784)
This commit is contained in:
parent
9b0cfa99c5
commit
8325465dea
@ -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"
|
||||||
]
|
]
|
||||||
|
1
.vscode/extensions.json
vendored
1
.vscode/extensions.json
vendored
@ -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"
|
||||||
]
|
]
|
||||||
|
3
.vscode/settings.json.sample
vendored
3
.vscode/settings.json.sample
vendored
@ -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",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user