Difference between revisions of "Snippet Generator"
Line 1: | Line 1: | ||
[[Category:Tools]] | [[Category:Tools]] | ||
== Overview == | == Overview == | ||
− | The Snippet Generator tool, or snipgen, is used to generate Visual Studio 2005 snippet declarations. | + | 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? == | == 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. | + | 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... | To be continued... |
Latest revision as of 04:52, 24 November 2006
Overview
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...