Open vinistock opened 10 months ago
This issue is being marked as stale because there was no activity in the last 2 months
Just bumping this since it's not stale and I don't want it marked as closed without being formally acknowledged! 😅
It's not usable yet, but a first step towards this was merged today: https://github.com/Shopify/ruby-lsp/pull/1043
Method completion and jump-to-method-definition is the only thing currently holding me to other alternatives. I am anxiously looking towards this feature to jump on ruby-lsp boat! 🛥️ 🛥️
Thank you very much for your hard work on this project!
It could be helpful to add a checklist to the PR description here indicating what's remaining.
Depends on #898 and #1333
Use the index to provide go to definition for methods.
Might depend on exploring using a control flow graph (CFG) to implement reaching definitions. While we do not provide typechecking, using reaching definitions might allow us to be more precise.
For example
Checklist
new
invocations toinitialize
. For completion, it's actually the opposite, we need to use the signature forinitialize
, but complete tonew
alias_method
andalias