HaxeFoundation / HaxeFoundation/haxe
[haxe 5] Completion cache is not updated after field is updated in other module
Open
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
- Open in VSCode
- Rename `foo` in `Test.hx` to `foo2`
- Open `Main.hx` and try to write `Test.` to see `foo` completion instead of `foo2` (Or replace `Test.foo` to `Test.`)
[aupdatecomp.zip](https://github.com/user-attachments/files/24102911/aupdatecomp.zip)
Contributor guide
Research direction
Reproduce the completion-cache problem in VSCode using the attached aupdatecomp.zip: rename foo to foo2 in Test.hx, then request completion for Test. from Main.hx. Trace how completion data is refreshed between these two modules. Done means completion no longer offers foo after the rename and instead offers foo2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100