File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -157,4 +157,12 @@ void ULinterNamingConvention::SortConventions()
157
157
158
158
return false ;
159
159
});
160
- }
160
+ }
161
+
162
+ void ULinterNamingConvention::PreSave (const class ITargetPlatform * TargetPlatform)
163
+ {
164
+ Super::PreSave (TargetPlatform);
165
+
166
+ SortConventions ();
167
+ }
168
+ >>>>>>> 99c97f0 (Sort Class Naming Conventions on PreSave):Plugins/Linter/Source/Linter/Private/LinterNamingConvention.cpp
Original file line number Diff line number Diff line change @@ -75,4 +75,11 @@ class LINTER_API ULinterNamingConvention : public UDataAsset
75
75
76
76
UFUNCTION (Blueprintcallable, Category = " Conventions" )
77
77
void SortConventions ();
78
- };
78
+
79
+ virtual void PreSave (const class ITargetPlatform * TargetPlatform) override ;
80
+
81
+ protected:
82
+
83
+
84
+
85
+ };
You can’t perform that action at this time.
0 commit comments