2 ms·
I haven't heard of any, but it sounds like an interesting idea, particularly if it opens things up on the accessibility front. However there's a big difference
by Terr_ 3y ago
I haven't heard of any, but it sounds like an interesting idea, particularly if it opens things up on the accessibility front.
However there's a big difference between a "generic English swipe keyboard" which can be calibrated to a single dictionary used in many places, versus a swipe keyboard that might have to offer very different suggestions based on the current programming-language and on what variable or method names exist within a given scope.
If you had a swipe keyboard tailored for one language, that'll only help complete common keywords and core APIs, but any real project will have a lot of "new words" that it won't know without some deeper IDE-ish system.
- tempaccount420 3y ago> might have to offer very different suggestions based on the current programming-language and on what variable or method names exist within a given scope I guess you could make it part of an application that embeds (a browser for) VS Code, with which the keyboard code can communicate and receive this information from. You could almost build it on top of a generic English swipe keyboard if you treat a swipe to shift (for camelCase) or `_` for snake_case as word separators, to match them in isolation to a generic English dictionary, and once the user presses space, you can try to match the fullIdentifierWithAllWords against a dictionary from the editor/LSP.