castwide / solargraph

A Ruby language server.
https://solargraph.org
MIT License
1.89k stars 158 forks source link

CMD + Click on a definition doesn't show definitions on other files #684

Open davidalejandroaguilar opened 1 year ago

davidalejandroaguilar commented 1 year ago

Your environment

Expected behavior

CMD + Click on a definition should show definitions on other files.

Actual behavior

CMD + Click on a definition doesn't show definition on other files and just goes directly to the definition on the same file.

Example

https://github.com/castwide/solargraph/assets/15317732/fc575bb4-0866-48c9-bd41-4493eca83b79


Not familiar with the codebase but let me know how I can help.

castwide commented 11 months ago

Do you have a reproducible example where the definition is in another file and Solargraph doesn't find it? It works for me either way. If the same definition exists in the current file and another file, VS Code shows both.