inconsistency with tab autocomplete between while and if statements
For troubleshooting assistance, refer to the troubleshooting guide
Description
A clear and concise description of what the bug is.
the autocomplete adds () to while statements but not if statements
Reproduction steps
Steps to reproduce the behavior:
type while then press tab then go to a new line and type if then press tab
Expected behavior
A clear and concise description of what you expected to happen. the while should not add ()
@rsa17826 is this for AHK v1, AHK v2, or both? I can double-check in a bit, just want to make sure I'm understanding the scope of the issue correctly when I try to repro :)
this was originally only tested for ahkv2, but for v1 it is backwards, with the if having () and the while not, though the while has a comma in v1:
If (expression)
While, Expression