Resharper and Custom Live template not working

When working with Unity, I thought it would be nice to create some LiveTemplates to help create configuration entries. For example, I want to create some elements of the Alias ​​type in a file called "unity.config":

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

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

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

unity.config file is an XML file. I place the cursor in an empty space and type “typeAlias” and then the tab key. Nothing happens.

Any ideas?

+3
source share
1 answer

Figured it out.

, , , . , !

+2

Source: https://habr.com/ru/post/1741957/


All Articles