This doesn't work either https://sourcegraph.com/github.com/rails/rails :(
Would be great if it worked, I liked the example with Go code.
This doesn't work either https://sourcegraph.com/github.com/rails/rails :(
Would be great if it worked, I liked the example with Go code.
As you can imagine, Ruby code intelligence (type inference, etc.) is super tough, and there are maybe 5-10 people in the world who could build it right now. We'd love to find and sponsor a Ruby expert to add Ruby support to Sourcegraph. If you know of anybody, please send them my way (sqs@sourcegraph.com).
Is Yin Wang in the list?
I remember reading something about it, but now only search engines retain traces of it.
Too bad it's in Chinese, but Google Translate got me the gist. An unfortunate story.
Not sure why he didn't settle on GPL or AGPL, though.
Disclaimer: I contributed to rubocop.
Here are some libraries that could contain that one-in-a-billion knowledge:
- RDL: type annotation, but also has a static type checker. https://github.com/plum-umd/rdl#static-type-checking
- Typed: gradual typing system, with type inference https://github.com/antoniogarrote/typed.rb
- Jetbrains has something, too: https://github.com/JetBrains/ruby-type-inference
I'm familiar with those projects, but when I last tried them, they did not work well enough with some additional constraints that the nature of our product imposes (chiefly requirements for error-tolerance and cross-project resolution), and we weren't able to find people to help us. I will try them again and see if we can sponsor someone now to help integrate when with Sourcegraph, since it looks like quite a bit of progress has been made in the last few months.