diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000000..0d6774d5db1 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + "recommendations": [ + "shopify.ruby-lsp", + "editorconfig.editorconfig", + "soutaro.rbs-syntax", + "soutaro.steep-vscode" + ] +} diff --git a/Appraisals b/Appraisals index c0f94387fab..b7d018c8631 100644 --- a/Appraisals +++ b/Appraisals @@ -17,6 +17,9 @@ REMOVED_GEMS = { 'rbs', 'steep', ], + :dev => [ + 'ruby-lsp', + ], } def appraise(group, &block) diff --git a/Gemfile b/Gemfile index 58cd0c363ac..28ab18df764 100644 --- a/Gemfile +++ b/Gemfile @@ -84,6 +84,10 @@ group :check do end end +group :dev do + gem 'ruby-lsp', require: false if RUBY_VERSION >= '3.0.0' && RUBY_PLATFORM != 'java' +end + # `1.17.0` provides broken RBS type definitions # https://github.com/ffi/ffi/blob/master/CHANGELOG.md#1170rc1--2024-04-08 #