Open-sourcing the Sorbet VS Code Extension
21–30 of 88 posts
Re: Open-sourcing the Sorbet VS Code Extension
#22Earlier quoted context omitted.
Stripe has a huge existing Ruby codebase that powers a lot of the dashboard and more. But there’s also a push towards Java for new services. Notably, Stripe does not use Ruby on Rails: instead there’s a few homegrown frameworks used for routing, storing data in a database, etc.
Why the push towards Java for new services?
Re: Open-sourcing the Sorbet VS Code Extension
#23Earlier quoted context omitted.
I don't see why it wouldn't be supported! If the APIs are the same as VS Code's APIs, you should be able to build the VS Code extension from source and load it into VSCodium at your convenience.
Yeah, VSCodium is just a build of the open-source VSCode base, it just can't connect to Microsoft's extension store because that's reserved for Microsoft's proprietary build. It should have the same APIs. I just wondered if the maintainers would officially support this use case. I'm not a VSCode user, but I do not trust Microsoft to dominate the entire dev tool ecosystem, and a stronger alternative base built around…
Re: Open-sourcing the Sorbet VS Code Extension
#24It's a shame that it didn't become the official Ruby type checker.
Re: Open-sourcing the Sorbet VS Code Extension
#25Thanks for this great project. It's amazing that: - It works both for static analysis and runtime checks (unlike Typescript); - Static analysis runs super fast even in a large codebase (unlike Erlang's /Elixir's dialyzer). It's a shame that it didn't become the official Ruby type checker.
Maybe w/ a VSCode extension but that means i can't read the signature a browser.
Re: Open-sourcing the Sorbet VS Code Extension
#26Congrats on this milestone!
Re: Open-sourcing the Sorbet VS Code Extension
#27Earlier quoted context omitted.
If Sorbet knows the type of the receiver of the method call, it will suggest completion results, regardless of whether any of the suggestions themselves have sigs, or whether you're inside a method with a signature. But without any sigs, there aren't going to necessarily be as many opportunities for Sorbet to know the type of the receiver as there would be with sigs. Here's an example https://sorbet.run/#%23%20typed%…
Even if I dont have signatures in my code, can I use it to get stdlib/gems signatures?
Re: Open-sourcing the Sorbet VS Code Extension
#28Re: Open-sourcing the Sorbet VS Code Extension
#29It's funny how we hear so much about Ruby's decline yet 3 of the highest-valued startups - Stripe, Shopify and AirBnB - are up there making fortunes with it whilst contributing to Ruby's vibrant ecosystem.
Re: Open-sourcing the Sorbet VS Code Extension
#30Earlier quoted context omitted.
Stripe has a huge existing Ruby codebase that powers a lot of the dashboard and more. But there’s also a push towards Java for new services. Notably, Stripe does not use Ruby on Rails: instead there’s a few homegrown frameworks used for routing, storing data in a database, etc.
Why the push towards Java for new services?