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
 Technical Support
 VASnippet can be missing Symbol Context
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

korku
New Member

6 Posts

Posted - Jun 27 2018 :  5:09:15 PM  Show Profile  Reply with Quote
Customizing the refactoring snippet "Create From Usage Method Body" to
Super::$MethodName$($MethodArgs$);
will result in the snippet always expanding to:
Super::();


Expected

void AMyClass::TickActor(float DeltaTime, enum ELevelTick TickType, FActorTickFunction& ThisTickFunction)
{
    Super::TickActor(DeltaTime, TickType, ThisTickFunction);
}


Actual output

void AMyClass::TickActor(float DeltaTime, enum ELevelTick TickType, FActorTickFunction& ThisTickFunction)
{
    Super::();
}


Moving the same thing to another snippet that I trigger via shortcut works correctly.

feline
Whole Tomato Software

United Kingdom
18721 Posts

Posted - Jul 04 2018 :  07:31:48 AM  Show Profile  Reply with Quote
Thank you for the clear description, I am seeing the same problem here. This is currently a known limitation of our refactoring snippets. Because the "context" is being generated, we don't have it in hand when the snippet queries it, so the method name and arguments are not there. This is something we are looking to fix at some point, but I don't currently have an estimate for when we will get to this:

case=9863

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Dec 03 2018 :  6:47:13 PM  Show Profile  Reply with Quote
In build 2301, when implementing virtual methods from engine base classes marked with UCLASS, Super::MethodName is automatically added to generated implementation (case=116702).
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