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?
source
share