Closed AntonPieper closed 5 months ago
This could be a really nice feature that could potentially greatly enhance the editing experience, I think.
I didn't really explore this because most keyboards already have a shortcut bar (like in the screenshot), and I thought another one could probably be too much. But looking at your mock-up, it might work out! 🤔
Another thing to consider is that another bar over the keyboard would decrease the editor in landscape mode even further, maybe to just one line. Of course, editing in landscape has always been a bit problematic so maybe a simple solution would be to just show this bar when there's enough vertical space.
In landscape mode, one can currently use floating keyboards (at least GBoard supports it), problem being that custom in-app bars can't track the keyboard afaik. If you are using landscape mode though, the distance to the tab-key at the top is less anyway though so it might not be problem.
You are right that most keyboard apps already have a general purpose auto-completion bar(which is useful in most cases, but maybe not in a code editor), which sadly takes away space. I thought, maybe one could hijack it, but I haven't found anything about that yet😢.
There also seems to be some way to tell the keyboard-app to not show suggestions without showing the password field, as Termux does this (but I also haven't found out how they do this yet, might be a combination of flags):
Edit: In Termux, it might have something to do with these overridden methods
In landscape mode, one can currently use floating keyboards…
Well, yes, if the screen is big enough 😉 I figure that typing this way is probably really unpleasant 🤔 But yes, this is a solution, and I can't see a better way anyway.
…I thought, maybe one could hijack it, but I haven't found anything about that yet😢.
I thought the same but haven't found a way to this either.
There also seems to be some way to tell the keyboard-app to not show suggestions without showing the password field, as Termux does this…
And Termux is a really good example for that extra bar over the keyboard! I really like how it's working there.
Edit: In Termux, it might have something to do with these overridden methods
It certainly looks like it would… 🤔
I thought, maybe adding a bar above the keyboard for some actions (like auto complete) could be useful. The thing is, I also like simplicity and a simple user interface. So I am asking if this is a wanted feature?
Here is a quick sketch (of course this is not the design I would implement)