HaxeFoundation / HaxeFoundation/haxe

[display] too much stuff (2)

Open
#8,643 7 comments 0 reactions 0 assignees View on GitHub
feature-ide test-needed
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

Toplevel completion includes .hx files that are not part of the classpath, such as these unit test classes in a Flixel project (where flixel is installed from GitHub to actually include these files):

![](https://i.imgur.com/UW7c4vw.png)

This didn't happen with rc.3. Probably this means that `readClassPaths` now explores things it shouldn't / didn't used to?

Contributor guide

Open the contributing guide

Research direction

Start with the Toplevel completion path and inspect how readClassPaths handles .hx files compared with rc.3. Reproduce the Flixel project case, where unit-test classes outside the classpath appear in completion, and use that behavior to define the fix. Done means unrelated non-classpath files no longer appear in Toplevel completion.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.