3 ms·
I wonder if it would make sense to latch into the syntax highlighter for something like Vim. Most syntax highlighters have a reasonable understanding of what c
by tombert 5y ago
I wonder if it would make sense to latch into the syntax highlighter for something like Vim. Most syntax highlighters have a reasonable understanding of what context you are currently in, so conceivably the device could, for example, see that I'm inside a comment and revert to vanilla English, and then see that I'm back in code and change to F#.
- __MatrixMan__ 5y agoI think it would. It seems like you'd want some amount of symmetry between contexts, otherwise learning separate ones would be too difficult. Like the gesture for python's "create a for loop" would align with the english word "repeat" and in functional languages it might map to some manipulation that sets up recursion with a shortened list. Actually coming up with a list of such a list of abstractions for app developers to map actions onto sounds like a dissertation for some psychologist somewhere.