Why does it show this syntax as an error?

Scripting and setups with Visual Studio Code (vscode) and AutoHotkey.
slishnevsky
Posts: 26
Joined: 07 Mar 2024, 06:50

Why does it show this syntax as an error?

Post by slishnevsky » 19 Mar 2024, 20:01

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 107 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.

gregster
Posts: 9035
Joined: 30 Sep 2013, 06:48

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

Post by gregster » 19 Mar 2024, 20:32

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.

User avatar
thqby
Posts: 408
Joined: 16 Apr 2021, 11:18
Contact:

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

Post by thqby » 20 Mar 2024, 05:36

Fixed in the next version.

Post Reply

Return to “Visual Studio Code”