Hmmm… took a while, but Add-in works well. It now reads the config and starts replacing the code. I also developed it so user can choose the HOTKEY. It is basically a Macro, which can be triggered using mouse Click or HOTKEY.
Now i want more. Say, In case of for loop, i want it to write code and come back to a certain point, so i can type the code, i don’t want to move the cursor manually.