67 lines
5.9 KiB
XML
67 lines
5.9 KiB
XML
<TemplatesExport family="Live Templates">
|
|
<Template uid="11676a91-d898-442d-b0fd-2ad0d8a78aef" shortcut="appcfgnetcommon" description="Common Logging Configuration Section" text=" <sectionGroup name="common">
 <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
 </sectionGroup>

$END$
 <!-- to see logging output in the attached debugger -->
 <common>
 <logging>
 <factoryAdapter type="Common.Logging.Simple.TraceLoggerFactoryAdapter, Common.Logging">
 <arg key="Level" value="ALL" />
 </factoryAdapter>
 </logging>
 </common>
" reformat="True" shortenQualifiedReferences="True">
|
|
<Categories />
|
|
<Variables />
|
|
<CustomProperties />
|
|
</Template>
|
|
<Template uid="c64e9dac-930d-4630-aad4-965c19f56957" shortcut="appcfgspring" description="Spring Configuration Section" text=" <sectionGroup name="spring">
 <section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/>
 <section name="context" type="Spring.Context.Support.WebContextHandler, Spring.Web"/> 
 <section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core"/>
 </sectionGroup>

$END$
<spring>
 <parsers> 
 <parser type="Spring.Aop.Config.AopNamespaceParser, Spring.Aop" /> 
 <parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data" /> 
 <parser type="Spring.Transaction.Config.TxNamespaceParser, Spring.Data" />
 <parser type="Spring.Validation.Config.ValidationNamespaceParser, Spring.Core" />
 <parser type="Spring.Remoting.Config.RemotingNamespaceParser, Spring.Services" />
 </parsers> 

 <context>
 <resource uri="config://spring/objects"/>
 </context>

 <objects xmlns="http://www.springframework.net"
 xmlns:v='http://www.springframework.net/validation'
 xmlns:aop="http://www.springframework.net/aop"
 xmlns:db="http://www.springframework.net/db"
 xmlns:r="http://www.springframework.net/remoting"
 xmlns:tx="http://www.springframework.net/tx"
 >
 </objects>
</spring>

" reformat="False" shortenQualifiedReferences="True">
|
|
<Context>
|
|
<FileNameContext mask="*.config" />
|
|
</Context>
|
|
<Categories />
|
|
<Variables />
|
|
<CustomProperties />
|
|
</Template>
|
|
<Template uid="42689ee8-389e-455e-ba5b-859c72343fac" shortcut="odctor" description="Object Definition ConstructorArg" text="<constructor-arg name="$NAME$" value="$END$" />" reformat="True" shortenQualifiedReferences="True">
|
|
<Context>
|
|
<XMLContext type="TAG_EXPECTED" />
|
|
</Context>
|
|
<Categories />
|
|
<Variables>
|
|
<Variable name="NAME" expression="" initialRange="0" />
|
|
</Variables>
|
|
<CustomProperties />
|
|
</Template>
|
|
<Template uid="8f2ddf02-a554-48b0-a2a8-d221f93c8b6c" shortcut="odef" description="Spring OObject Definition" text="<object name="$NAME$" type="$CLASS$">
 $END$
</object>" reformat="True" shortenQualifiedReferences="True">
|
|
<Context>
|
|
<XMLContext type="TAG_EXPECTED" />
|
|
</Context>
|
|
<Categories />
|
|
<Variables>
|
|
<Variable name="NAME" expression="suggestVariableName()" initialRange="0" />
|
|
<Variable name="CLASS" expression="fixedTypeName()" initialRange="0" />
|
|
</Variables>
|
|
<CustomProperties />
|
|
</Template>
|
|
<Template uid="ee700a0f-2551-4c6a-85fb-6a08d8514fcd" shortcut="odprop" description="Object Definition Property" text="<property name="$NAME$" value="$END$" />" reformat="True" shortenQualifiedReferences="True">
|
|
<Context>
|
|
<XMLContext type="TAG_EXPECTED" />
|
|
</Context>
|
|
<Categories />
|
|
<Variables>
|
|
<Variable name="NAME" expression="" initialRange="0" />
|
|
</Variables>
|
|
<CustomProperties />
|
|
</Template>
|
|
<Template uid="c2a04277-de35-4f56-97e3-30d23fbfe2d5" shortcut="test" description="Create test method" text=" [Test]
 public void $NAME$ ()
 {
 $END$
 }" reformat="True" shortenQualifiedReferences="True">
|
|
<Context>
|
|
<CSharpContext context="TypeMember" minimumLanguageVersion="2.0" />
|
|
</Context>
|
|
<Categories />
|
|
<Variables>
|
|
<Variable name="NAME" expression="" initialRange="0" />
|
|
</Variables>
|
|
<CustomProperties />
|
|
</Template>
|
|
<Template uid="5e6b209a-b56c-43ea-8d96-2bcdd5216ab9" shortcut="testex" description="Create test method for expected exception" text=" [Test]
 [ExpectedException(typeof($EXCEPTION_TYPE$))]
 public void $NAME$ ()
 {
 $END$
 }" reformat="True" shortenQualifiedReferences="True">
|
|
<Context>
|
|
<CSharpContext context="TypeMember" minimumLanguageVersion="2.0" />
|
|
</Context>
|
|
<Categories />
|
|
<Variables>
|
|
<Variable name="EXCEPTION_TYPE" expression="" initialRange="0" />
|
|
<Variable name="NAME" expression="" initialRange="0" />
|
|
</Variables>
|
|
<CustomProperties />
|
|
</Template>
|
|
</TemplatesExport> |