castwide / solargraph

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

CMD + Click on a definition should take you to the code, not the definition #643

Closed davidalejandroaguilar closed 9 months ago

davidalejandroaguilar commented 1 year ago

Your environment

Expected behavior

CMD + Click on a definition should take you to the code.

Actual behavior

CMD + Click on a definition takes you to the literal definition.

Example

https://user-images.githubusercontent.com/15317732/229072512-6e295255-c5bf-4c1e-bfe5-b8b21f9ad014.mov


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

castwide commented 1 year ago

You're using CMD+click on the hover, not the name in the file. The hover links to the documentation.

davidalejandroaguilar commented 9 months ago

Tested again and this is working correctly, thanks!