Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Sorbet to the Ruby LSP #119

Merged
merged 13 commits into from
Jun 2, 2022
Merged

Add Sorbet to the Ruby LSP #119

merged 13 commits into from
Jun 2, 2022

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented May 31, 2022

Motivation

First step in #62

Add Sorbet with all sigils as typed false.

I'll follow this one with a PR to change the sigils and add more typing.

Implementation

I tried ordering the commits, so that the changes are easier to review. But it's basically

  • Add the gems
  • Add configuration for rubocop, Tapioca
  • Add typecheck to CI
  • Generate RBIs and fix things

@vinistock vinistock requested a review from a team May 31, 2022 18:16
@vinistock vinistock self-assigned this May 31, 2022
ruby-lsp.gemspec Outdated Show resolved Hide resolved
test/test_helper.rb Outdated Show resolved Hide resolved
Copy link
Member

@paracycle paracycle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, this looks good. Should we disable runtime type-checking when the CLI is called like how we do in Tapioca (as part of a followup PR) to limit the runtime overhead on the executable?

@vinistock
Copy link
Member Author

@paracycle yes, I'll add it to the follow up PR.

Copy link
Contributor

@RyanBrushett RyanBrushett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Vini

@vinistock vinistock merged commit 54cdef1 into main Jun 2, 2022
@vinistock vinistock deleted the vs/add_sorbet branch June 2, 2022 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants