Skip to content

Conversation

@S-H-GAMELINKS
Copy link
Contributor

Summary

Previously, typeDefinition only jumped to Ruby class/module definitions.

This change enables jumping to RBS declaration files from:

  • Class/module constants (e.g., Foo in Foo.new)
  • Local variables and instance variables holding class instances

Also adds tests for both scenarios.

Screenshots

Jumping from class constant

image

Jumping from local variable

image

Previously, typeDefinition only jumped to Ruby class/module definitions.

This change enables jumping to RBS declaration files from:
- Class/module constants (e.g., Foo in Foo.new)
- Local variables and instance variables holding class instances

Also adds tests for both scenarios.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant