thqby / vscode-autohotkey2-lsp

Autohotkey v2 Language Support using vscode-lsp.
https://marketplace.visualstudio.com/items?itemName=thqby.vscode-autohotkey2-lsp
GNU Lesser General Public License v3.0
210 stars 21 forks source link

Detect Prototype Additions Request #538

Closed wilkster closed 2 months ago

wilkster commented 2 months ago

I use the following method to extend GUI controls, and although I could see where it may be difficult to determine that (in this case) AddPicture is a valid GUI method, it is still flagged as missing. Is there any way this could either be detected or have a method to flag it so the parser doesn't show as an error? image

thqby commented 2 months ago

https://github.com/thqby/vscode-autohotkey2-lsp/blob/main/syntaxes/ahk2_common.json#L30

wilkster commented 2 months ago

Thank you! ;@lint-disable class-non-dynamic-member-check suppressed the error message as you pointed out.