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  Visit ggSharkmob's Homepage  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
Starting Member

1 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
2305 Posts

Posted - Sep 14 2017 :  9:11:22 PM  Show Profile  Visit sean's Homepage  Reply with Quote
Thanks for chiming in -- it is definitely on our radar. case=109205
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2017 Whole Tomato Software, Inc Go To Top Of Page
Snitz Forums 2000