Permalink
Browse files

Added ReSharper live templates with support for 'Establish', 'Because…

…', and 'It' delegates
  • Loading branch information...
1 parent de8a3cb commit 61f9662835fbac44c2ccc4256c5a54e3c9999834 @sksbrg sksbrg committed with agross Feb 12, 2012
Showing with 45 additions and 0 deletions.
  1. +45 −0 Misc/ReSharper.LiveTemplates.DotSettings
@@ -0,0 +1,45 @@
+<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/@KeyIndexDefined">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/Shortcut/@EntryValue">msi</s:String>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/Description/@EntryValue">Live template for MSpec 'It' delegate</s:String>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/Text/@EntryValue">It should_$do$ = () =&gt; $END$;</s:String>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/Categories/=MSpec/@EntryIndexedValue">MSpec</s:String>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/Applicability/=Live/@EntryIndexedValue">True</s:Boolean>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/Scope/=C3001E7C0DA78E4487072B7E050D86C5/@KeyIndexDefined">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/Scope/=C3001E7C0DA78E4487072B7E050D86C5/Type/@EntryValue">InCSharpFile</s:String>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/Scope/=C3001E7C0DA78E4487072B7E050D86C5/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/Field/=do/@KeyIndexDefined">True</s:Boolean>
+ <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=3A228F297FD77C4F955E5463BA527D3E/Field/=do/Order/@EntryValue">0</s:Int64>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4FB0BAF1ABD68641AF1F6B28E9059683/@KeyIndexDefined">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4FB0BAF1ABD68641AF1F6B28E9059683/Shortcut/@EntryValue">mse</s:String>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4FB0BAF1ABD68641AF1F6B28E9059683/Description/@EntryValue">Live template for MSpec 'Establish' delegate</s:String>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4FB0BAF1ABD68641AF1F6B28E9059683/Text/@EntryValue">Establish context = () =&gt; $END$;</s:String>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4FB0BAF1ABD68641AF1F6B28E9059683/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4FB0BAF1ABD68641AF1F6B28E9059683/Categories/=MSpec/@EntryIndexedValue">MSpec</s:String>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4FB0BAF1ABD68641AF1F6B28E9059683/Applicability/=Live/@EntryIndexedValue">True</s:Boolean>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4FB0BAF1ABD68641AF1F6B28E9059683/Scope/=C3001E7C0DA78E4487072B7E050D86C5/@KeyIndexDefined">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4FB0BAF1ABD68641AF1F6B28E9059683/Scope/=C3001E7C0DA78E4487072B7E050D86C5/Type/@EntryValue">InCSharpFile</s:String>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4FB0BAF1ABD68641AF1F6B28E9059683/Scope/=C3001E7C0DA78E4487072B7E050D86C5/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1D2A16F656FA6D40A1AF14C20A25F55E/@KeyIndexDefined">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1D2A16F656FA6D40A1AF14C20A25F55E/Shortcut/@EntryValue">msb</s:String>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1D2A16F656FA6D40A1AF14C20A25F55E/Description/@EntryValue">Live template for MSpec 'Because' delegate</s:String>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1D2A16F656FA6D40A1AF14C20A25F55E/Text/@EntryValue">Because of = () =&gt; $END$;</s:String>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1D2A16F656FA6D40A1AF14C20A25F55E/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1D2A16F656FA6D40A1AF14C20A25F55E/Categories/=MSpec/@EntryIndexedValue">MSpec</s:String>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1D2A16F656FA6D40A1AF14C20A25F55E/Applicability/=Live/@EntryIndexedValue">True</s:Boolean>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1D2A16F656FA6D40A1AF14C20A25F55E/Scope/=C3001E7C0DA78E4487072B7E050D86C5/@KeyIndexDefined">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1D2A16F656FA6D40A1AF14C20A25F55E/Scope/=C3001E7C0DA78E4487072B7E050D86C5/Type/@EntryValue">InCSharpFile</s:String>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1D2A16F656FA6D40A1AF14C20A25F55E/Scope/=C3001E7C0DA78E4487072B7E050D86C5/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=FF300E769DBF464686E3D359DE395028/@KeyIndexDefined">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=FF300E769DBF464686E3D359DE395028/Shortcut/@EntryValue">msf</s:String>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=FF300E769DBF464686E3D359DE395028/Text/@EntryValue">It should_fail = () =&gt;&#xD;
+Exception.ShouldNotBeNull();&#xD;
+ &#xD;
+static Exception Exception;</s:String>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=FF300E769DBF464686E3D359DE395028/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=FF300E769DBF464686E3D359DE395028/Categories/=MSpec/@EntryIndexedValue">MSpec</s:String>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=FF300E769DBF464686E3D359DE395028/Applicability/=Live/@EntryIndexedValue">True</s:Boolean>
+ <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=FF300E769DBF464686E3D359DE395028/Scope/=C3001E7C0DA78E4487072B7E050D86C5/@KeyIndexDefined">True</s:Boolean>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=FF300E769DBF464686E3D359DE395028/Scope/=C3001E7C0DA78E4487072B7E050D86C5/Type/@EntryValue">InCSharpFile</s:String>
+ <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=FF300E769DBF464686E3D359DE395028/Scope/=C3001E7C0DA78E4487072B7E050D86C5/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String></wpf:ResourceDictionary>

0 comments on commit 61f9662

Please sign in to comment.