Hi yakir,
Have you tried Aliases?
Sounds like they are what you're after.
Aliases can be used for common strings such as file/path names (for faster filesystem navigation). But they can also expand to full code templates, along with prompted parameters and other features.
You can find them documented in the help system, or else simply try Tools | Options | Aliases and look at some examples.
John Hurst
Wellington, New Zealand