iftheshoefritz / solargraph-rails

Solargraph plugin to add awareness of Rails-specific code
MIT License
321 stars 29 forks source link

Real use on production code #15

Open iftheshoefritz opened 3 years ago

iftheshoefritz commented 3 years ago

Please add your experience of using solargraph-rails with production code. What is working, what is not, what is too slow, etc.

iftheshoefritz commented 3 years ago

I've run this with:

a Rails API (+- 50k LOC, 4 years old, Rails 6.0, single team = 5-10 contributors at any given time) a scary (mostly because of the quality of code) Rails monolith (+- 170k LOC, 8+ years old, Rails 5.2, multi-team = 20+ simultaneous contributors).

It's fairly slow to start up SG (28s in the monolith), but I found the same startup time with and without sg_rails listed in plugins.

Completion is slow if you know what you're doing, but if you're in a part of the code you don't know, having searchable autocomplete is really helpful.