Closed filliph closed 1 year ago
That's weird, the extension should have automatically marked it as a global, at least with v0.10.11
I currently have the following warnings in my project (ItemUpgradeTip):
Undefined global `BattlePetToolTip_ShowLink`
Undefined global `BattlePetTooltip`
Undefined global `ButtonFrameTemplate_HideButtonBar`
Undefined global `ButtonFrameTemplate_HidePortrait`
Undefined global `CallMethodOnNearestAncestor`
Undefined global `ChatEdit_InsertLink`
Undefined global `CreateIndexRangeDataProvider`
Undefined global `CreateScrollBoxListLinearView`
Undefined global `CreateTableBuilder`
Undefined global `GameTooltip_AddBlankLineToTooltip`
Undefined global `GameTooltip_AddColoredLine`
Undefined global `InterfaceOptionsFrame_OpenToCategory`
Undefined global `PanelTemplates_DeselectTab`
Undefined global `PanelTemplates_SetNumTabs`
Undefined global `PanelTemplates_SetTab`
Undefined global `PanelTemplates_TabResize`
Undefined global `ScrollUtil`
Undefined global `TableBuilderCellMixin`
Undefined global `TableBuilderElementMixin`
Undefined global `UISpecialFrames`
"Lua.diagnostics.globals"
array in settings.json
does have some entries, does this prevent the extension's defined globals from functioning?
If not, is there anything else I can do to help debug this? If you'd prefer, we can connect on Discord for some live debugging, just let me know and I'll DM you 🙂
Okay just DM me on discord because I have no idea why it's not marking them as global for you
Yeah after talking on Discord the extension doesn't have full coverage on FrameXML stuff, it currently mostly just marks them as global instead of annotating