Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Alt+G on functions with _Implementation

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
Zeblote Posted - Jul 13 2019 : 08:17:25 AM
Alt+G does not work on RPC (or similar) functions where one of them is using _Implementation, if the arguments are split over multiple lines.

Alt+G on Test takes me here



Instead of here





5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 15 2019 : 1:00:47 PM
Do you mean the implementation / body of this function? I have entered the same function declaration here, and I am seeing the same Alt-g bug. Alt-g on the function name takes me to the end of the declaration.

However, if I go to the implementation manually, alt-g there takes me back to the declaration, as expected.

Given that this function is spread across several lines it looks like the same bug. If you reformat this declaration, so that the function name and all of the parameters are listed on just 2 lines of code then Alt-g starts working normally again.

I have added this example to the bug report.
Zeblote Posted - Jul 13 2019 : 5:51:53 PM
I've found another example: alt+G does not let me jump to the definition of this function





feline Posted - Jul 13 2019 : 4:25:49 PM
Ah, I follow now. That is strange, I would not expect the number of lines the declaration is split across to matter, but obviously it does. I have put in a bug report for this problem:

case=140913
Zeblote Posted - Jul 13 2019 : 11:03:34 AM
Oh I think I was unclear, yeah jumping to the declaration from calls to the function works fine. The problem is when I use alt+G with the cursor on the declaration (you can see the Test is still highlighted from me doing that) and then press alt+G, the cursor jumps to the left of the last line of the declaration (as shown) instead of the implementation.
feline Posted - Jul 13 2019 : 11:00:11 AM
This is what I would expect, since if you are using Alt-g on a call to "Test" then the only direct match is the declaration. From the declaration, if you press Alt-G again you should be taken to the implementation, since this is something VA knows to handle for Unreal code.

Do you have cases where Alt-g on the function call takes you directly to the _Implementation version of the function? Doing some simple tests here, using VS2017, VA 2341 and Unreal Engine 4.20 Alt-g is taking me directly to the declaration, where the function name matches exactly.

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