autocompletion is difficult to use !
Hello,
Am I the only one who find the auto-completion uninstinctive as possible ? Or is it just me ?
Here are some behaviors that I found really not ergonomic at all, with some suggestion to improve it :
double parenthesis or other pairs deletion :
when you tap {, sometimes the autocompleter add {} and put the cursor in the middle. Good.
But if I change my mind and I want to not use this pair, I click del key, and it delete only the left bracket => From my point of view it should delete both.
double parenthesis or other pairs consistency:
When you tap {, sometimes it add the closing one. Sometimes not. But the logic of the choice is still mysterious to me. => From my point of view (I will symbolize the cursor by “|”):
-
\somecommand{some + equation|}: here the closing matching pair should be always added, as the user is certainly not making correction (the already displayed “}” was probably added automatically, so the user didn’t move it back). -
some + equation|: idem -
some + |equation: the user moved the cursor back. So he is making corrections. Maybe it is better to let him do exactly what he want.
closing parenthesis override consistency:
Lets take an example : I write \sum, the auto-completer suggest \sum_{min}^{max}, I press tab and I obtain \sum_{|min|}^{max} (min is selected). Right. I press a^{, I obtain \sum_{a^{|}}^{max}, still what I want. I add -2, still ok : \sum_{a^{-2|}}^{max}
Here the magic happen : when I press } the first time, it override the closing bracket : \sum_{a^{-2}|}^{max}. But the second time, it add a new bracket : ``\sum_{a^{-2}}|}^{max}`. Why ??? I would understand this if the number of bracket was inconsistent. But here, it is not the case.
Tab do not jump to next bracket :
same exemple, I start with \fra and the autocompleter add \frac{|numérateur|}{dénominateur}.
I press 1 => \frac{1|}{dénominateur}. here I want to jump to the next bracket, so I am expecting someting like press tab => \frac{1}{|dénominateur|}. Instead, I have to take my mouse and select "dénominateur" manually before start typing. Same for \sum and int
Autocompleter doesn’t work when you correct your text:
Example : I want an infinity symbole. I tap \inf. Compile. I see it is not the good command. So, I assume I should not be far. I put the cursor at the end and delete the final f. Here I should see all the commands starting by \in. But no. Nothing happen. If I want that, I have to delete all the four symbols, and tap \in again, and then the auto-completer start to do its job.
=> when \inf| after the cursor was moved back, pressing tab should show the suggestions for \inf and pressing del should show the suggestions for \in
I think there are lots of other issues, but these are the most important, I think.