-
Notifications
You must be signed in to change notification settings - Fork 233
Closed
Labels
enhancementNew feature or requestNew feature or requestpinnedThis issue or pull request is pinned and won't be marked as staleThis issue or pull request is pinned and won't be marked as stale
Description
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
a = "something"
# We know that `a` is a string because it's a literal, so we know 100% sure this has to be
# String#upcase. If we have an implementation of reaching definitions, we can make this work
a.upcaseChecklist
- Attributes. The LSP protocol has special types for them, so we should create a separate index entry
- Taking
newinvocations toinitialize. For completion, it's actually the opposite, we need to use the signature forinitialize, but complete tonew - Method aliases through
alias_methodandalias
rbarreca, carlos-marchal, pilgunboris, davidalejandroaguilar, snutij and 43 moreDrowze
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpinnedThis issue or pull request is pinned and won't be marked as staleThis issue or pull request is pinned and won't be marked as stale