WoW API for VS CodeAdds IntelliSense features for World of Warcraft API to VS Code. This is a third party extension for LuaLS with annotations. Activation
FeaturesAPI
WidgetsEventsCVarsEnums
GlobalStringsShows completion for GlobalStrings at >3 uppercase letters to declutter fuzzy search. AddOn namespaceThe AddOn namespace needs to be annotated with @class in each file. This way the language server knows about the shared table and also allows you to mutate it.
Deprecated APIIf you intend to use deprecated APIs for Classic, the warning and strikethrough can be removed by disabling its diagnostic. DocumentationMore documentation is available on the project wiki. ContributingThe extension reflects the state of the wiki, so if you create/update the wiki pages, it will be updated in the extension on the next release. Otherwise feel free to create an issue with the false errors. For example UnitLevel would be documented like so.
Alternatively, the script will look for a commented block for API pages not documented in Blizzard_APIDocumentationGenerated.
DevelopingRefer to SETUP.md if you want to run the Lua scripts which generate the documentation. Acknowledgements
|