mark-wiemer-org / ahkpp

AutoHotkey Plus Plus (AHK++) - AutoHotkey v1 and v2 support for VS Code
https://marketplace.visualstudio.com/items?itemName=mark-wiemer.vscode-autohotkey-plus-plus
Other
156 stars 10 forks source link

Autocomplete provides non-included functions #503

Open mark-wiemer opened 2 days ago

mark-wiemer commented 2 days ago

As a followup you seem to have included autocomplete, and because you haven't verified the function list for correctness, typing part of a function and ( will complete to an incorrect function. For example, in File A I have the func abc, and in file B, I've defined abcdefghij. Every time I type abc + ( I'll get the rest of the alphabet to j. This is due to the fact that in file B, there are no includes, and file A and B are included in main.ahk. Therefore what should be valid behavior in AHK leads to annyances while typing.

Originally posted by @iseahound in https://github.com/mark-wiemer-org/ahkpp/issues/494#issuecomment-2336468305

mark-wiemer commented 1 day ago

Ref #488, keeping this open to ensure we cover all relevant test cases