Resharper and Custom Live Template Not Working

Posted by Bryce Fischer on Stack Overflow See other posts from Stack Overflow or by Bryce Fischer
Published on 2010-04-20T15:09:53Z Indexed on 2010/04/20 15:13 UTC
Read the original article Hit count: 561

Filed under:
|
|
|
|

Working with Unity, I thought it would be a good idea to create some LiveTemplates to help out with creating configuration entries. For example, I want to create some typeAlias elements in a file called "unity.config":

      <typeAlias
           alias="QueryService"
           type="type,QueryAssembly"/>

So, I created a live template: Shortcut: typeAlias Available "in all files"

<typeAlias alias="$ALIAS$" type="$TYPE$,$ASSEMBLY$"/>

the unity.config file is an XML file. I put the cursor in an empty spot and type "typeAlias" and then the tab key. Nothing happens.

Any ideas?

© Stack Overflow or respective owner

Related posts about resharper

Related posts about .NET