Git Product home page Git Product logo

Comments (3)

markusfisch avatar markusfisch commented on June 19, 2024

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.

from shadereditor.

AntonPieper avatar AntonPieper commented on June 19, 2024

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.
Screenshot_20240418-180931

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):
Screenshot_20240418-181806

Edit: In Termux, it might have something to do with these overridden methods

from shadereditor.

markusfisch avatar markusfisch commented on June 19, 2024

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… 🤔

from shadereditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.