Why does it show this syntax as an error?

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

Why does it show this syntax as an error?

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 2184 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.
User avatar
gregster
Posts: 9224
Joined: 30 Sep 2013, 06:48

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

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: 560
Joined: 16 Apr 2021, 11:18
Contact:

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

20 Mar 2024, 05:36

Fixed in the next version.

Return to “Visual Studio Code”

Who is online

Users browsing this forum: No registered users and 16 guests