HaxeFoundation / HaxeFoundation/haxe

[ide] dot completion doesn't work for modules that don't have a primary type

Open
#9,453 1 comment 0 reactions 1 assignee Claimed by @Simn View on GitHub
feature-ide
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

Mod.hx
```haxe
class Sub {}
```

Main.hx
```haxe
function main() {
Mod.|
}
```

Nothing is shown here, also `Mod` is not showing up in toplevel completion.

I assume this is tricky, because we don't really have a notion of module at expression level, but maybe `resolve_dot_path` can be taught to provide some completion?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.