HaxeFoundation / HaxeFoundation/haxe
[display] completion features in macro classes
Open
bug
feature-ide
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
Display features don't work very well with macro classes.
```haxe
class Main {
static function main() {
foo();
}
static macro function foo() {
macro class {
var test:Int;
function bar() {
test;
}
}
return macro {};
}
}
```
- hovering over anything in the class highlights the whole thing with `Array` (?)

- toplevel completion in `bar()` works, but not correctly (`test` doesn't show up for instance)
- find references on `test`'s usage instead finds random results (#7961)
Contributor guide
Assessment
This issue has not been assessed yet.