mirror of
https://github.com/ConjureETS/Unity_Utils.git
synced 2026-03-23 20:40:58 +00:00
150 lines
6.2 KiB
XML
150 lines
6.2 KiB
XML
<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:String x:Key="/Default/CodeEditing/Unity/AdditionalFileLayout/Pattern/@EntryValue"><Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"
|
|
xmlns:unity="urn:schemas-jetbrains-com:member-reordering-patterns-unity">
|
|
|
|
<!-- Pattern to match classes used by Unity that contain serialised fields and event
|
|
function methods. Based on the standard "Default Pattern", this will also order
|
|
event functions before normal methods, and does not reorder serialised fields,
|
|
as this order is reflected in the Unity editor's Inspector -->
|
|
<TypePattern DisplayName="Unity classes" Priority="100">
|
|
<TypePattern.Match>
|
|
<unity:SerializableClass />
|
|
</TypePattern.Match>
|
|
|
|
<Entry DisplayName="Public Delegates" Priority="100">
|
|
<Entry.Match>
|
|
<And>
|
|
<Access Is="Public" />
|
|
<Kind Is="Delegate" />
|
|
</And>
|
|
</Entry.Match>
|
|
|
|
<Entry.SortBy>
|
|
<Name />
|
|
</Entry.SortBy>
|
|
</Entry>
|
|
|
|
<Entry DisplayName="Public Enums" Priority="100">
|
|
<Entry.Match>
|
|
<And>
|
|
<Access Is="Public" />
|
|
<Kind Is="Enum" />
|
|
</And>
|
|
</Entry.Match>
|
|
|
|
<Entry.SortBy>
|
|
<Name />
|
|
</Entry.SortBy>
|
|
</Entry>
|
|
|
|
<Entry DisplayName="Static Fields and Constants">
|
|
<Entry.Match>
|
|
<Or>
|
|
<Kind Is="Constant" />
|
|
<And>
|
|
<Kind Is="Field" />
|
|
<Static />
|
|
</And>
|
|
</Or>
|
|
</Entry.Match>
|
|
|
|
<Entry.SortBy>
|
|
<Kind>
|
|
<Kind.Order>
|
|
<DeclarationKind>Constant</DeclarationKind>
|
|
<DeclarationKind>Field</DeclarationKind>
|
|
</Kind.Order>
|
|
</Kind>
|
|
</Entry.SortBy>
|
|
</Entry>
|
|
|
|
<Entry DisplayName="Serialized Fields">
|
|
<Entry.Match>
|
|
<unity:SerializedField />
|
|
</Entry.Match>
|
|
|
|
<!-- No sorting -->
|
|
</Entry>
|
|
|
|
<Entry DisplayName="Non-serialised Fields">
|
|
<Entry.Match>
|
|
<And>
|
|
<Kind Is="Field" />
|
|
<Not>
|
|
<unity:SerializedField />
|
|
</Not>
|
|
</And>
|
|
</Entry.Match>
|
|
|
|
<Entry.SortBy>
|
|
<Readonly />
|
|
<Name />
|
|
</Entry.SortBy>
|
|
</Entry>
|
|
|
|
<Entry DisplayName="Constructors">
|
|
<Entry.Match>
|
|
<Kind Is="Constructor" />
|
|
</Entry.Match>
|
|
|
|
<Entry.SortBy>
|
|
<Static/>
|
|
</Entry.SortBy>
|
|
</Entry>
|
|
|
|
<Entry DisplayName="Properties, Indexers">
|
|
<Entry.Match>
|
|
<Or>
|
|
<Kind Is="Property" />
|
|
<Kind Is="Indexer" />
|
|
</Or>
|
|
</Entry.Match>
|
|
</Entry>
|
|
|
|
<Entry DisplayName="Event Functions">
|
|
<Entry.Match>
|
|
<unity:EventFunction />
|
|
</Entry.Match>
|
|
|
|
<Entry.SortBy>
|
|
<!-- Prioritises common event functions. For alphabetical, replace with <Name /> -->
|
|
<unity:EventFunctionName />
|
|
</Entry.SortBy>
|
|
</Entry>
|
|
|
|
<Entry DisplayName="Interface Implementations" Priority="100">
|
|
<Entry.Match>
|
|
<And>
|
|
<Kind Is="Member" />
|
|
<ImplementsInterface />
|
|
</And>
|
|
</Entry.Match>
|
|
|
|
<Entry.SortBy>
|
|
<ImplementsInterface Immediate="true" />
|
|
</Entry.SortBy>
|
|
</Entry>
|
|
|
|
<Entry DisplayName="All other members" />
|
|
|
|
<Entry DisplayName="Nested Types">
|
|
<Entry.Match>
|
|
<Kind Is="Type" />
|
|
</Entry.Match>
|
|
</Entry>
|
|
</TypePattern>
|
|
</Patterns>
|
|
</s:String>
|
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=Constants/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AA_BB" /></s:String>
|
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/UserRules/=5f0fdb63_002Dc892_002D4d2c_002D9324_002D15c80b22a7ef/@EntryIndexedValue"><Policy><Descriptor Staticness="Instance" AccessRightKinds="Public" Description="Unity serialized field"><ElementKinds><Kind Name="UNITY_SERIALISED_FIELD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></Policy></s:String>
|
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/UserRules/=5f0fdb63_002Dc892_002D4d2c_002D9324_002D15c80b22a7ef/@EntryIndexedValue"><Policy><Descriptor Staticness="Instance" AccessRightKinds="Private" Description="Unity serialized field"><ElementKinds><Kind Name="UNITY_SERIALISED_FIELD" /></ElementKinds></Descriptor><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></Policy></s:String>
|
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Despawn/@EntryIndexedValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Despawned/@EntryIndexedValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Interacter/@EntryIndexedValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Interruptible/@EntryIndexedValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Rebinded/@EntryIndexedValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Scriptables/@EntryIndexedValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Unrebindable/@EntryIndexedValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Verticality/@EntryIndexedValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=wwise/@EntryIndexedValue">True</s:Boolean>
|
|
</wpf:ResourceDictionary> |