Open castwide opened 3 years ago
Do you have any plans to support generating RBS files from YARD docs?
Thanks for all the work. This gem is a huge help!
I've been using sord with a decent degree of success.
Any update on rbs support? rbs is working really well on rubymine and I miss it in vscode :)
It's still in progress. I just updated the rbs
branch with a few commits I hadn't pushed yet. I can't give an exact ETA yet, but certainly before the end of the year.
steep seems to be the way things are going with rbs. I use RubyMine at home but work uses something resembling VSCode. I like the idea of rbs but I'm honestly wondering if there should've been a language break at 3 to support gradual typing like Crystal and Python.
The rbs
branch is merged into master
and will be released shortly. Some notes on the current version:
go to definition
would either stop working or point to the RBS definition instead of the code. I'm currently looking into possible hybrid solutions.Any update on releasing a new cut of Solargraph with support for RBS or is this blocked on the go to definition
point?
I plan to release a version with RBS support for core and stdlib first, then iterate support for gems and workspaces.
It looks like v0.49.0 prints the following message on solargraph bundle
.
The `bundle` command is deprecated. Solargraph currently uses RBS instead.
There doesn't seem to be any info on what that means (or what to do about it). Is there any documentation available?
Running solargraph bundle
should no longer be necessary. I left it as a noop to avoid breaking existing workflows.
For problems specific to Rails, try installing the solargraph-rails plugin first.
Gotcha. Thank you.
Is it possible to update solargraph's RBS dependency to something in the RBS 3.x series? That would make packaging solargraph for arch linux, a rolling release distro, much easier. Thanks!
Integration of RBS into Solargraph is officially on the roadmap.
Features
Pros
solargraph download-core
to update core and stdlib documentation.Cons
Current progress can be previewed on the repo's
rbs
branch.