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

Autocompletion Heuristics #276

Open
maymage opened this issue Jun 21, 2022 · 0 comments
Open

Autocompletion Heuristics #276

maymage opened this issue Jun 21, 2022 · 0 comments

Comments

@maymage
Copy link

maymage commented Jun 21, 2022

Hi all,

autocompletion like \al + TAB --> \alpha is super useful, but the offered list is merely ordered alphabetically, not
by any heuristic, which makes hitting the desired completion easily findable.

Here an example

image

I'd argue, that among all listed options for \t probably \text{*} is the most often used command and so should be shown first.

Just brainstorming here - split the list as

`

................................................................................
| 1st. most often in current document....|
| 2nd. most often in current document..|
| 3rd.. most often in current document..|
................................................................................
| 1st in alphabetic order............... (s)........|
| 2nd in alphabetic order...............(c)........|
| 3rd in alphabetic order................(r)........|
|.................................................................(b).......|
|.................................................................(a).......|
|..................................................................(r).......|
................................................................................

`

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

No branches or pull requests

1 participant