The regular way (typing the shortcut followed by the Tab key) doesn’t seem to work. If not, maybe there’s some other way of inserting snippets not using the mouse, with as few keystrokes as possible? What language should be specified in the “language” attribute of the “Code” element in the .snippet file? I use VS2010.
Share
I found out today that pressing TAB twice works OK if I type the snippet shortcut after the new keyword, so I changed the snippet code from “new AjaxOptions {UpdateTargetId = “page”, OnFailure = “handleFailure”, … }” to “AjaxOptions {UpdateTargetId = “page”, OnFailure = “handleFailure”, … }”, and everything seems to work fine now.