Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 UE4 macro property indentation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ggSharkmob
Starting Member

Sweden
1 Posts

Posted - Sep 13 2017 :  03:16:18 AM  Show Profile  Reply with Quote
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();
};

undead_jorgen
New Member

3 Posts

Posted - Sep 14 2017 :  5:31:02 PM  Show Profile  Reply with Quote
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 :)

- J�rgen
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 14 2017 :  9:11:22 PM  Show Profile  Reply with Quote
Thanks for chiming in -- it is definitely on our radar. case=109205
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Dec 20 2019 :  2:36:41 PM  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000