Need help running extension based on event
Hello fellow developers!
I'm developing an auto-close extension for opening braces and quotes. The problem I am having is trying to activate the extension code when the user types the character recognized as an auto-closed character. What do I need to do to activate my extension when the user presses a specific key on their keyboard?
For those who don't know what auto-close is. Here is an example.
Example: When the user types the opening brace {, the extension code will activate and insert the closing brace }, and then finally it will position the cursor between { and }
Thanks for any assistance with this problem. I'm tired of having to manually close a code block!
Sincerely yours,
Joshua Hesseman
