Where can I find examples of braces completion. I tried doing it in IndentTask
and it isn't quite working. I was thinking about getting a hold of the token
sequence and working my way through. But may be looking at existing examples is
a better idea.
In Java, when user enters a '{' and presses enter, the corresponding '}' is
added and the cursor is placed between '{' and '}'. This is the behaviour I am
trying to replicate.
I searched in Indent tasks of other modules like Groovy and XML. But they don't
have any braces completion logic. Is there any modules in incubator-netbeans
source I can look at for examples ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists