-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
Relation with Sorbet #194
Comments
Thanks! Sorbet came to my attention a few months ago. Glad to see they've started open-sourcing it. A relationship between Sorbet and Solargraph is definitely a possibility. Some of the features overlap, and they have lots of potential to complement each other. A few preliminary thoughts:
|
@castwide great answer! i've been doing some more investigation myself and it feels the ecosystem around sorbet is pretty minimal (for example, i can't find any editor plugins). you've obviously done a fantastic job of developer ux so i hope there's a bit of overlap between the projects. Also, I know you're working on rails integration (#87) here's some tooling around rails / sorbet coming out: https://github.com/chanzuckerberg/sorbet-rails. |
@sunnyrjuneja Sorbet actually has a LSP server inside it(pass |
Editor plugin exists but it's currently closed source. It will get open-sourced when we stabilize LSP features. |
@DarkDimius Is there a plugin for vs code??? |
@DarkDimius Thank you for the update! Looking forward to the open sourcing of the editor features. My CTO and I are already working on integrating Sorbet into our Rails application. I've been closely tracking Twitter for updates on Sorbet and am extremely excited about the work you've released today. I'm so grateful for you and your team's hard work. |
@DarkDimius Are you here? Please answer my question above. |
@minkir014 he answered your question, it's coming soon. |
@castwide FWIW, Sord is a tool for translating YARD docs into Sorbet signatures (and it works pretty well already): https://github.com/AaronC81/sord It only works in one direction, though. |
Man I which there was a way of converting |
I have been using Solargraph with Emacs's lsp-mode for a while and it's really great. Thank you for your hard work. My team is now evaluating typechecking packages, and obviously Sorbet and Solargraph are on our list. I am curious about the future of Solargraph's typechecking in light of the recent news about Ruby 3's type signature language: I feel like I understand the roadmap for Sorbet and how it will fit into the bigger picture, but what about Solargraph? Are there plans to work with RBS in the future? (Personally I like Solargraph's current YARD approach: it's unintrusive yet still readily visible, and an extension of what we were already doing. But it could be a tough sell for my org to double-down on this approach if external type definitions are truly the way of the future.) |
@amake It definitely makes sense to support RBS if/when it becomes part of the Ruby standard, but I'm still not sure what form it should take. A few considerations:
|
The last update here was in 2020. I wonder if there any updates worth sharing in terms of the status of solargraph's RBS support at the moment Since we have this on the README now
|
Hello castwide! Big fan of this gem and been using it quite often. I'm curious, now that Sorbet is public, do you see any relationship between Sorbet / Solargraph?
https://sorbet.org/blog/2019/06/20/open-sourcing-sorbet
The text was updated successfully, but these errors were encountered: