Ketho / vscode-wow-api

VS Code extension for World of Warcraft AddOns
https://marketplace.visualstudio.com/items?itemName=ketho.wow-api
MIT License
151 stars 33 forks source link

How to deal with fields of not implemented templates? #126

Closed cjhwang0222 closed 10 months ago

cjhwang0222 commented 10 months ago

I'm working on a scroll frame. scroll bar is not an essential property of scroll frames so there is a constant warning of unidentified field for scroll bars. How can I deal with this? I'm kinda obsessive so can't bear with it lol

Ketho commented 10 months ago

You uhh either need to annotate the fields yourself with @field or disable the diagnostic for the warning like with @diagnostic disable-next-line.

Supporting templates is something I want to do but can't really say when.

cjhwang0222 commented 10 months ago

Thank you. I had no clue where to begin with.