Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Const completion & document using Module.nesting #19

Closed
wants to merge 1 commit into from

Conversation

tompng
Copy link
Owner

@tompng tompng commented Jun 30, 2023

class AA
  class AB1
    AC1 = 1
  end
  class AB2
    AC2 = 2
    AB1.instance_eval { binding.irb }
  end
end

irb> A█

before: AA, ARGF, ARGV, ArgumentError, Array
after: AA, AB1, AB2, AC2, ARGF, ARGV, ArgumentError, Array

Not done in this pull request

irb> class ::AA::AB1
irb>   A█
should complete AC1
irb> class ::AA::AB1
irb>   @@a█
should complete class variables of ::AA::AB1

@tompng
Copy link
Owner Author

tompng commented Sep 2, 2023

Planning to try this again after #28

@tompng tompng closed this Sep 2, 2023
@tompng tompng deleted the const_path_search branch September 2, 2023 16:23
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