View unanswered posts | View active topics

Reply to topic  [ 2 posts ] 
Goto Declaration (F4) Regression 
Author Message

Joined: Wed Oct 17, 2018 6:27 pm
Posts: 1
Reply with quote
.NET 4.0 for FlashDevelop
Windows 10 Pro Version 1803

TL;DR: Pressing F4 on a class name does not always go to the class file, but pressing F4 on the import statement for that class does.

In an .as class that has imports to other classes, pressing F4 (or using the context menu "Goto Declaration") on a class within the code will scroll the page to the constructor of the current class not the referenced class.

In my case, has an import for In MenuCommand, pressing F4 when RebuildDataCommand is focused goes to the constructor for MenuCommand. Finding the import statement for RebuildDataCommand and pressing F4 works.

This used to work, but it has been quite a few releases since then.

Wed Oct 17, 2018 6:42 pm

Joined: Sun Oct 28, 2012 6:44 pm
Posts: 22
Reply with quote
I came here for that specific problem!

Hitting F4 on a classname inside a code block jumps to the constructor of the currently open document class file, not to the constructor of the class that is under the cursor. As you say, it works correctly on member variables and import statements.

Thu Jul 11, 2019 11:28 am
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.