solargraph
solargraph copied to clipboard
RSPEC support
I know their is support for Rails with solargraph
through the solargraph-rails
plugin , is their a solargraph-rspec
plugin or built in support I can use for rspec
There's an RSpec convention that currently ships with Solargraph, but it's far from complete. It's definitely a good candidate to become a separate extension.
@castwide how would that candidacy process work for solargraph
There's no official candidacy process. When I have time to work more on RSpec support, one of my first tasks would probably be to move it to its own extension. If someone else is interested in working on it, I'd be willing to assist.
Hey @reeganviljoen @castwide I've got some good news for you here! After playing around for a bit I've been able to put some work and created an extension gem for RSpec, please check it out here: https://github.com/lekemula/solargraph-rspec.
It does not support all the possible use cases (as that would be humongous knowing the magic of RSpec) but hopefully, we'll get there one day!
Luckily after some iterations it ended up not needing any patches here, although I still think some of the initial changes there would be still beneficial. @castwide WDYT? I would also appreciate any feedback on the gem itself as I'm relatively a newbie in this domain. 🙏
Please give it a try and let me know how it works for you!
Cheers!