3 ms·
> 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 gu
by tempaccount420 2y 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.