HaxeFoundation / HaxeFoundation/haxe

[ide] provide information about abstract `from` in toplevel completion expected type info

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

Description

This would be handy for cases like this:

```haxe
abstract Callback(T->Void) from T->Void {}

function main() {
var cb:Callback = |
}
```

If haxe language server had the info about implicit abstract conversions, it could provide "generate anonymous function" snippet completion. I assume the same would work for structure types.

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.