Create Keybindings/Marco


#1

Hello,

I would like to have a keybinding for writing output comments. I dont know what they are called (macro,key binding,shortcut…) I would like to basically repeat a bunch of code by just pressing a single command. Quick example would be:

pressing cmd+shift+1 would result in outputting in my file

/* - Default Comment */  

How can I make this possible?

Thank you,


#2

You can use snippets for this kind of thing. Check out the docs