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 support for Steep (Ruby) #3254

Closed
lloeki opened this issue Jul 30, 2020 · 1 comment · Fixed by #4671
Closed

Add support for Steep (Ruby) #3254

lloeki opened this issue Jul 30, 2020 · 1 comment · Fixed by #4671
Labels
new tool Support for new linters, fixers, etc.

Comments

@lloeki
Copy link
Contributor

lloeki commented Jul 30, 2020

Name: steep
URL: https://github.com/soutaro/steep

Steep is a type checker for Ruby 2, using RBS files (Ruby type signature) that will be a core part of Ruby 3.

Direct CLI output:

$ steep check
lib/phone.rb:46:0: MethodDefinitionMissing: module=::Phone, method=self.countries (class Phone)

LSP support:

steep langserver
@lloeki lloeki added the new tool Support for new linters, fixers, etc. label Jul 30, 2020
lloeki added a commit to lloeki/ale that referenced this issue Dec 2, 2022
lloeki added a commit to lloeki/ale that referenced this issue Oct 21, 2023
lloeki added a commit to lloeki/ale that referenced this issue Dec 6, 2023
lloeki added a commit to lloeki/ale that referenced this issue May 27, 2024
@lloeki
Copy link
Contributor Author

lloeki commented May 30, 2024

If someone wants to test this, I've been using it for a while myself and finalised the PR: #4671

(No LSP for now, because it's been kinda working including completion and stuff, but proven tricky/buggy in practice, failing to refresh and stuff. At least this gives type checks right in the editor)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new tool Support for new linters, fixers, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant