Results 339 comments of Fred Snyder

Good points. I think I'm somewhat conflating the requirements of two distinct features: the completion items provided by the language server, and the rules that apply to strict type checking....

The `ruby-dev` requirement isn't inherent to Solargraph, but to Ruby itself. Any gem that uses native extensions needs the Ruby development headers to be installed on the system. (Solargraph doesn't...

I definitely want Solargraph to be accessible to as many people as possible, but I'm a little concerned about the snowball effect of maintaining documentation for platform-specific instructions for installing...

Confirmed. It works for definition, but not references. ```ruby class Thing def initialize # textDocument/references does not find `Thing.new` for `initialize` end end Thing.new # textDocument/definition finds `Thing#initialize` for `new`...

Closing this as presumed resolved in `solargraph-rails`. Please feel free to open a new issue if necessary.

You might be able to identify which file triggered the error by setting `logLevel` to `debug` in either `init_options` or `settings.solargraph`. It should be the last message like "Mapping path/to/file.rb"...

Cool, glad that worked. Determining a minimal reproduction might be tricky, especially since `solargraph scan` didn't trigger the same error. If you have the patience, you can try running it...

Thanks for finding a reproducible error. The `when` conditions are recursive in the AST, so I probably need to find a more efficient way to handle them in `NodeProcessors`.

Can you clarify what results you expect? I'm not sure what happened in that Sublime screenshot, but the Code screenshot looks correct to me. I put together a simple reproduction....