When opening the XML Insert panel with Ctrl + E, one has to scroll down (sometimes a lot) to find the desired element, in the "Elements allowed at caret" panel, and then the only way to select the element one wants to insert is to click on it:
There are several ergonomy issues:
it forces the user to use a mouse / touchpad, which is slower than using the keyboard only, and can be significantly annoying and time consuming when you use the feature often
when many elements are allowed at caret, scrolling to find the right one is even more time-consuming
it goes against the habit of Oxygen users who, to insert a tag, type the name of the tag directly after Ctrl + E (Ctrl + E, then [name of the tag] + ENTER). If, driven by old habit, we do the same, here we just delete the passage of text we had selected, and replace it with whatever we type as the name of the tag we wanted to insert.
A solution could be to place the focus, after CTRL + E, on the "Elements allowed at caret" list, allowing to go directly to elements beginning with a certain letter by typing this letter, then using the arrows to go up and down, then enter to select the desired element, which would bring back the focus to the insertion point in the file / buffer.
Alternatively, something like what we have when we just write a new tag name in the file would be perfect: when you type < the list contains all possible tags, and the list is reduced as you type new letters (here "<ca...").
But in this case, the element should wrap a selected passage of text
When opening the XML Insert panel with Ctrl + E, one has to scroll down (sometimes a lot) to find the desired element, in the "Elements allowed at caret" panel, and then the only way to select the element one wants to insert is to click on it:
There are several ergonomy issues:
A solution could be to place the focus, after CTRL + E, on the "Elements allowed at caret" list, allowing to go directly to elements beginning with a certain letter by typing this letter, then using the arrows to go up and down, then enter to select the desired element, which would bring back the focus to the insertion point in the file / buffer.
Alternatively, something like what we have when we just write a new tag name in the file would be perfect: when you type < the list contains all possible tags, and the list is reduced as you type new letters (here "<ca...").
But in this case, the element should wrap a selected passage of text