Go to declaration won't work when the cursor is right after the function name

Reproduction Steps

function b()
	print('b')
end

b()

Right-click on b() (line 5) and select Go to declaration (Ctrl+F12)

Edit

It only won’t work if the cursor is right after the function name

Expected Behavior

The cursor should move to the selected function line

Actual Behavior

Nothing happens

Issue Area: Studio
Issue Type: Other
Impact: Moderate
Frequency: Constantly

@rogeriodec_games - Thank you for filing this. Just to verify, it only doesn’t work when your cursor (or right click) is right after the function name, right?

If you have a longer function name and right click in the middle or right before the name, it should work.

Please let us know if this is not the case for you.

1 Like

Yes, you’re right. I hadn’t paid attention to that. I will change the title.

1 Like

This was fixed at some point.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.