Results 339 comments of Fred Snyder

> Slightly separate to the above - my observation of Gnome-Builder is that its trying to start/restart the LSP server whenever I switch between files - which sounds different to...

Thanks! I think I found the problem. When Solargraph initializes, it maps all the `.rb` files in your workspace except a few common "non-library" directories, like `spec` and `.bundle`. If...

Correction: Your client is sending the `textDocument/didOpen` event, but it gets sent for multiple files, and Solargraph only tracks one "open" file at a time. (In VS Code, the "open"...

This isn't currently possible with Solargraph. It uses static analysis to find methods, so methods defined at runtime aren't visible. There are ways to document dynamic methods with YARD (e.g.,...

It's definitely theoretically achievable, but it's beyond the scope of Solargraph itself. TruffleRuby support would have to be accomplished in a plugin. I would rather not try to support Java...

You probably want your plugin to modify the ApiMap with a Convention. You can see existing implementations in `lib/solargraph/convention` and the [solargraph-rails](https://github.com/iftheshoefritz/solargraph-rails) plugin.

I'm trying to look for a root cause, but I haven't been able to reproduce the error. Do you have an example of code that causes it? Even if we...

Thanks. Don't worry about it if it's too much trouble, since I'll patch `SourceToYard` either way.

Hmm. I still can't reproduce this one. 1. Does this happen with your example code in an otherwise empty workspace, or do you have any bundled/required gems included? 2. Have...