Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,10 @@ void ULinterNamingConvention::SortConventions()
return false;
});
}

void ULinterNamingConvention::PreSave(const class ITargetPlatform* TargetPlatform)
{
Super::PreSave(TargetPlatform);

SortConventions();
}
2 changes: 2 additions & 0 deletions Plugins/Linter/Source/Linter/Public/LinterNamingConvention.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ class LINTER_API ULinterNamingConvention : public UDataAsset
UFUNCTION(Blueprintcallable, Category = "Conventions")
void SortConventions();

virtual void PreSave(const class ITargetPlatform* TargetPlatform) override;

protected:


Expand Down