fdorg / flashdevelop

FlashDevelop is a free and open source code editor.
MIT License
823 stars 220 forks source link

[Haxe4] Goto Declaration doesn't work for openfl._internal. classes #2951

Open Klug76 opened 4 years ago

Klug76 commented 4 years ago

The Goto Declaration command doesn't work for import openfl._internal. classes. Main.hx:

package;

import openfl._internal.renderer.DisplayObjectType;
import openfl.display.Sprite;
import openfl.Lib;
import openfl.events.Event;

class Main extends Sprite
{
    public function new()
    {
        super();
        removeEventListener(Event.CHANGE, null, false);
    }
}

When I hit F4 at the DisplayObjectType class - nothing happens. (hovever, it works for many classes, no problems with openfl.display.Sprite). FD version: https://github.com/fdorg/flashdevelop/commit/e0bb847a0d Haxe: 4.0,5. OpenFL: https://github.com/openfl/openfl/commit/51b239be50a62089ec4153ec99b10292e3338647

SlavaRa commented 4 years ago

because https://github.com/fdorg/flashdevelop/commit/d4e8e7b177ffc7643e223385d421ffc77308df91

SlavaRa commented 4 years ago

can't reproduce

Klug76 commented 4 years ago

I'm sad that I have to switch to vscode when fd can't open the file. fd_open_internal vscode_open_internal FD: https://github.com/fdorg/flashdevelop/commit/7af40b95d15cf41ca504c536b735387b6f85b7ab Haxe: 4.1.3 OpenFL: https://github.com/openfl/openfl/commit/51b239be50a62089ec4153ec99b10292e3338647 Sample project: fd_open_internal_bug.zip