Page 1 of 1

Why does it show this syntax as an error?

Posted: 19 Mar 2024, 20:01
by slishnevsky
Hi.

The code actually works, but for some reason in VSCode it shows as an error on this line:
image.png
image.png (26.06 KiB) Viewed 2182 times
In the documentation, it has the same syntax:

https://www.autohotkey.com/docs/v2/lib/MouseGetPos.htm#Examples

Any idea what syntax checker is complaining about?

Thanks.

Re: Why does it show this syntax as an error?

Posted: 19 Mar 2024, 20:32
by gregster
Looks editor-specific or rather extension-specific.
Might be some kind of warning from the extension. Whose is it?

I'll move this to the VS Code subforum.

Re: Why does it show this syntax as an error?

Posted: 20 Mar 2024, 05:36
by thqby
Fixed in the next version.