How do I create a Macro/short cuts in Eclipse?

How do I create a Macro in Eclipse?
For example: I want the combination alt+s will print on the page

//********************************************************************

In Java there's the option to create a code template. Like writing sysout + CTRL + space generates System.out.println() text.

Window > Preferences > Java > Editor > Templates

This option seems to be available for several other programming languages.

Is not exactly what you are looking for, since it works with written text but it's usable for your problem as well.


You should try Practically Macro