-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Description
What is your suggestion?
Fix current minor, but breaking limitations to navigating the editor with a stylus. This may well be exhausted in not being able to select words/lines with double tap as in other editors, nor drag the selection range around with the little bubbly boundary indicators known from Android and Chromebook (and ipadOS and Windows too, although the former can't host code-server locally).
Why do you want this feature?
I have been using alternative editors for a long time, primarily because I like coding in tablet mode, with a stylus, and code-server's editor provides a very poor experience with it.
(For the skeptics, since this is may be an unusual habit as of today: I use Chromebooks with Wacom or USI support. Its on-screen keyboard has all modifier keys and swipe-typing really compensates for the slight slowness of tapping when swipe-typing is not applicable - although it doesn't bother me either since I think more than write while coding. I have also run code-server from Termux on Android before, where the same issue exists, yet it is a perfectly viable scenario on tablets. Don't ask why i did it on a phone.).
Are there any workarounds to get this functionality today?
Nope, the selection mechanism is just ignorant of touch interfaces, that otherwise in other editors come inheriting OS-native adjustments to the selection mechanism indicating range boundary and interpretting double/triple-taps as normal double/triple clicks on words/lines. Something about code-server's editor (codemirror i would presume?) intercepts the native selection behavior that limits natural touch interaction.
Are you interested in submitting a PR for this?
Probably beyond my knowledge and/or capability.
Thank you !