Skip to content

Instantly share code, notes, and snippets.

@JEuler
Last active December 31, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JEuler/7999794 to your computer and use it in GitHub Desktop.
Save JEuler/7999794 to your computer and use it in GitHub Desktop.
Res live template for Resharper, useful for localization.
<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/=2CC977F4AE46A64FB65FC6859877C200/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CC977F4AE46A64FB65FC6859877C200/Shortcut/@EntryValue">res</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CC977F4AE46A64FB65FC6859877C200/Text/@EntryValue">{Binding Path=LocalizedResources.$RESOURCE_NAME$, Source={StaticResource LocalizedStrings}}</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CC977F4AE46A64FB65FC6859877C200/Reformat/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CC977F4AE46A64FB65FC6859877C200/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CC977F4AE46A64FB65FC6859877C200/Applicability/=Live/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CC977F4AE46A64FB65FC6859877C200/Scope/=CF7C2F2066E462418ABD91975B64021C/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CC977F4AE46A64FB65FC6859877C200/Scope/=CF7C2F2066E462418ABD91975B64021C/Type/@EntryValue">InFileWithMask</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CC977F4AE46A64FB65FC6859877C200/Scope/=CF7C2F2066E462418ABD91975B64021C/CustomProperties/=mask/@EntryIndexedValue">*.xaml</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CC977F4AE46A64FB65FC6859877C200/Field/=RESOURCE_005FNAME/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CC977F4AE46A64FB65FC6859877C200/Field/=RESOURCE_005FNAME/Order/@EntryValue">0</s:Int64></wpf:ResourceDictionary>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment