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

Jumping to nodes with the same start range #49

Open
ethan-leba opened this issue Dec 24, 2021 · 0 comments
Open

Jumping to nodes with the same start range #49

ethan-leba opened this issue Dec 24, 2021 · 0 comments

Comments

@ethan-leba
Copy link
Owner

Currently attempting to avy jump to a call in Python in the following scenario will only yield one choice, due to the node layout:

[[foo()].baz()]

This is because the avy jump is based on the start point of node range. How can we address this?

Switch to the end point of the node.

This could work, but has two issues:

  1. When do we decide if we should use the end node? If the no. unique start points < no. unique end points?
  2. Behavior needs to not be surprising to users. Could be mitigated with a (message "Start points are not unique, ...")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant