[MonoDevelop] How to use code snippets

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Aug 23 18:32:48 EDT 2009


On Tue, Aug 11, 2009 at 5:16 AM, adrin<adrin84 at gmail.com> wrote:
> When i type in class, highlight proper snippet in popup menu, press TAB
> button and .. well no snippet is inserted (just 'class' keyword).
> Is it supported? maybe there is another key combination to insert snippet
> code?

Hit tab twice. Once to complete it from the menu, and once to expand
it the snippet.

This is necessary because some snippets have the same name as other
items in the list - e.g the "if" snippet and the "if" keyword. Because
tab is also the key for completing a selection from the menu, we
require a second tab keypress to activate the template.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list