Skip to content

Commit

Permalink
Merge pull request #3777 from DataDog/lloeki/add-ruby-lsp
Browse files Browse the repository at this point in the history
Add Ruby LSP support for VSCode (and possibly others)
  • Loading branch information
lloeki authored Jul 11, 2024
2 parents a5820c5 + 81c3037 commit 2a662b0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"shopify.ruby-lsp",
"editorconfig.editorconfig",
"soutaro.rbs-syntax",
"soutaro.steep-vscode"
]
}
3 changes: 3 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ REMOVED_GEMS = {
'rbs',
'steep',
],
:dev => [
'ruby-lsp',
],
}

def appraise(group, &block)
Expand Down
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit 2a662b0

Please sign in to comment.