Can't Have Unreal Engine UPROPERTY on the same line

I want my UPROPERTY to be on the same line as the declared variable:

UPROPERTY(VisibleDefaultsOnly, Category=Mesh) USkeletalMeshComponent* Mesh1P;

but every time I use Code>Reformat Code with Ctrl+Alt+L, the variable goes to the next line:

	UPROPERTY(VisibleDefaultsOnly, Category=Mesh)
	USkeletalMeshComponent* Mesh1P; 

How can I tell rider to do not do this?

Rider 2023.2.2

You cant.
Specifiers in UE must be in the line before and not on same line.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.