I’m adapting CodeMirror for an online IDE-like thing for a custom programming language. I want to build auto-completion for small snippets (e.g. a while-loop). When such a snippet is expanded, I want the user to be able to
Tab to the places where he needs to enter something - like in Eclipse, when a function is auto-completed.
I have a working prototype of this. You can find it here, just tick
I want to use the beta version, click
Files, create a new, empty pseuCo file, start typing
while, and accept the completion with
Tab. You can then advance to the second (currently red) placeholder with
Does anyone see an easier way to achieve this, or something similar?