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

Key interface in ref (or \eqref) inconsistent with other environments #1464

Open
zsiegel92 opened this issue Feb 27, 2020 · 0 comments
Open

Comments

@zsiegel92
Copy link

Hi,

When you type \ref{ or \eqref{, a dropdown menu comes down giving all valid completions. This is a great feature. You can select an option with ENTER, then you have to press the right arrow to exit the completion environment. If you have escaped the dropdown, TAB cycles through completions within the file.

I propose that TAB should autocomplete options in the dropdown (as it does throughout Sublime Text, including in the dropdown menu). I also propose that once an option has been selected from the dropdown, the cursor should be move TO THE RIGHT of the closing bracket so that the user does not have to type a right arrow. Ideally, it would work like this:

  • When dropdown is triggered, user starts typing then uses TAB to cycle through autocompletions in the dropdown
  • ENTER should select the correct one
  • The dropdown disappears, and the cursor is to the right of the closing bracket.
    • Alternatively, the cursor could still be inside the brackets for editing the reference name, but then TAB should exit the brackets.

This also applies to \includegraphics and other commands that trigger a dropdown menu.

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

2 participants