Snippet Generator

Revision as of 05:52, 24 November 2006 by Fokou (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


The Snippet Generator tool, or snipgen, is used to generate Visual Studio 2005 snippet declarations. Primarily developed for EiffelEnvision's editor it can also be used in conjunction with any other language, unlike the Mirosoft tools.

What are Snippets?

Snippet are tokenized pieces of code that can be inserted into the editor using either the menu, bound shortcut keys or a snippet shortcut name. In EiffelEnvision a snippet for a class can be insert by typing 'class' followed by pressing TAB. In addition, the EiffelEnvision editor support construct completion (similar to EiffelStudio when pressing ENTER or SPACE after typing do/if/check etc.) but is based on snippets, so they can be changed to suit a user preference using the snipgen tool.

To be continued...