Code completion from a keyboard user's angle
Bilaal Emrith 11 years ago • updated by Alexander Blach (Developer) 11 years ago • 14
Hey there, good job. One minor improvement based on the Textastic 4.0 could be implementing the code completion for keyboard users as well. Right now, there's no way of using the keyboard to navigate through the suggestions and accepting them with the return key. else nice work.
Implemented in Textastic 4.0.2:
You can press return to accept the top-most entry.
Use the arrow keys on the external keyboard to select a different entry from the list. Hit return to accept the selected entry.
Use the left or right arrow keys to close the list.
For the on-screen keyboard nothing has changed.
Customer support service by UserEcho
I thought a lot about it. The biggest problem is that iPad keyboards generally lack an Esc key. So how would you get out of the list on a keyboard without an Esc key? (like the Apple keyboard dock and the Logitech fold-up keyboard that I own)
Because of that problem I've decided to make it touch-only until I find a solution.
I own the Zagg Folio and this one lacks the escape key as well .
Auto select/highlight the first completion suggestion on the list (the most relevant);
Use arrow key (when available or textastic's software version) to navigate up&down;
Use selected suggestion by pressing TAB ( pressing the space bar or other key whould continue imput as normal) .
No need to have ESC key for this to work, or am I missing something ?
Start typing, auto completion list pops up and continually updates to show (& highlight) the most relevant suggestion on top as you type new chars;
If the most relevant suggestion is the one you want press TAB. If not, use keys to navigate or continue typing as usual..
Is this possible? I think it could be usable this way, what do you think?
You woul need to escape a certain suggestion if it was assumed/accepted by default. As I'm putting it you would have to press Tab to assume it.
Everything would stay exactly as now except the fact that , in addintion to "touch suggestion to accept", you would be able to press Tab to have the highlighted suggestion accepted. No need to escape suggestion as there is no need as it is working now on v4.0.
Sorry for being a little confusing.. :p
When I first tried Textastic 4 code completion yesterday, I pressed Tab and was somehow waiting that it woulfdwork that way.. Tab is used for completion on Terminal, so it could work from the usability point of view, that is..
Tha nk you for your attention.
Amazing work on this release, btw!
Pressing Tab would be the same as touching the top-most suggestion on the list.
If the keyboard have arrow keys then one could navigate up and down to select other suggestions. But most of the time the top-most suggestion is the one we want..
Those who can't navigate a page of text without the use of trackpad, mouse or touching the screen wouldn't understand and should disregard the above comment. Please excuse me.
Code completion is awesome the way it is with the arrow keys and return. I agree that the tab key should be put to better use, perhaps with a modifier combo (sans keyboard support through iPad's multi-touch?), or in a Textmate-like way that would allow 'smart' cursor navigation.
I liked that keyboard so much I wanted to use it with my pc, but i ran into problems with missing functionality, escape key doesnt work, no delete key etc. here's a guide how to solve those problems