-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotation typos and outdated meta information #4
Comments
This may be a Defold doc bug as well?
|
Prepared everything mentioned above in this commit - astrochili/defold@6637dec. Waiting for a while, in case @Jerakin finds something else, and I'll send the PR to Defold. Also I added operators for vector3/4 and matrix4 defenition to this repository. |
Can the "standard" functions within Defold be annotated? I am using a my template editor extension currently when creating new files to get the annotations but would be neat if some basic ones could be automatic, (I bet the |
To be honest, I don't know how to do it globally, as each But in templates you can of course just write:
|
Created PR to Defold defold/defold#8776 |
|
sys.reboot params should be ---@param arg1 string argument 1
---@param arg2 string argument 2
---@param arg3 string argument 3
---@param arg4 string argument 4
---@param arg5 string argument 5
---@param arg6 string argument 6
function sys.reboot(arg1, arg2, arg3, arg4, arg5, arg6) end |
Interesting. Are you sure? I am not good at c++, but in the source code some 6 arguments are processed. |
Ah okay, sorry, just need to add |
Added PR defold/defold#8976 |
Fixing annotation typos and outdated meta information requires edits to the Defold source code, as this is the main source of documentation generation.
This issue is an attempt to collect that kind of bugs in one place and prepare pull requests to Defold batchwise. So feel free to share any annotation issues here. It will be more useful than fixing these bugs locally or just ignoring them.
The text was updated successfully, but these errors were encountered: