mikatuo / defold-lua-annotations

Generate Emmylua annotations for Defold
MIT License
10 stars 0 forks source link

How to add extensions annotations? #4

Open ivanquirino opened 3 weeks ago

ivanquirino commented 3 weeks ago

I am using the GameAnalytics Defold extension which has no annotations, and right now I'm creating annotations manually in the file .defold/api/gameanalytics.lua under my project. Do you accept contributions for extensions? How to do it? I would like to contribute

mikatuo commented 3 weeks ago

I think the best way would be to contribute the annotations .lua file to the GameAnalytics Defold repo so that it will be downloaded with the extension and used by the Lua LSP, similar to Druid's https://github.com/Insality/druid/blob/master/druid/annotations.lua