@Martin_fr what if we hook into the ide source editor then create a package as design-time only?
Hooking it into the editor is a bit more work.
1) It needs config for the user
- properties in SynEdit for the form designer
- Options in the IDE
2) What is a bracket? Depends on the HL. E.g. XML has <>
3) Should have (some basic) detection if the closing element already exist?
4) Make sure its one undo? Or should it be a separate undo, so if you did a closing bracket that you did not want. (Some word processors do that, e.g if the format certain text automatically)
5) Given the amount of options, in needs to be some form of add-on/plugin. So there could be alternative handlers, if users want that for their own code.
Some points could be deferred, added over time. (5) however must be part of the initial implementation.
Still, its overall not too complicated.
But its sums up to take some time...