Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 UE4 macro property indentation

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
ggSharkmob Posted - Sep 13 2017 : 03:16:18 AM
It would be nice if Visual Assist knew about GENERATED_BODY(), UPROPERTY() and UFUNCTION() "macros" and fixed the indentation of the next row to be aligned with the macro.

Using Ctrl+K+D results in the following formatting:


UCLASS()
class UTest : public UObject
{
	GENERATED_BODY()

		UPROPERTY()
		float MyProperty;

	UFUNCTION()
		void MyFunction();
};


It would be nice if the result was like this instead:


UCLASS()
class UTest : public UObject
{
	GENERATED_BODY()

	UPROPERTY()
	float MyProperty;

	UFUNCTION()
	void MyFunction();
};
3   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Dec 20 2019 : 2:36:41 PM
Build 2358 has improvements in this area when typing but not for format selection.
https://support.wholetomato.com/default.asp?W404
http://builds.wholetomato.com/binaries/VA_X_Setup2358_0.exe

case=141666 is for fixing indentation during the format selection command
sean Posted - Sep 14 2017 : 9:11:22 PM
Thanks for chiming in -- it is definitely on our radar. case=109205
undead_jorgen Posted - Sep 14 2017 : 5:31:02 PM
Signed up for an account just so I could say "me too!" I love VAX, and I'm so glad there's been a lot of work on making it work better with UE4. We're a ~55 person studio, and I know a lot of our programmers use VAX, so these improvements are great. The macro indentation issue annoys me all the time, as I use the "format when pasting" option -- which I love for other parts of the code, but when I edit headers in UE4 projects, it just gets in the way. I hope this is included in an upcoming update -- I just had the office manager update my license a couple of weeks ago to get build 2231 :)

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000