extension-imgui
extension-imgui copied to clipboard
Added annotations
Added annotations for VSCode to improve the workflow
Since the annotations are added as meta there's no need to modify the example.script or imgui.script
Some values or parameters may be wrong, imgui API is big
https://github.com/user-attachments/assets/d92dc1ad-466e-43ca-9833-8b1b43f24e0a
Thank you for the contribution. I will not merge it just yet though. I am working on an api reference generator that will be used to generate api docs, .script_api and also annotation files. I will use your contributed file as a basis for vs code annotations. I should be able to release it next week.
Sounds good, thank you
Thank you for the contribution. I will not merge it just yet though. I am working on an api reference generator that will be used to generate api docs, .script_api and also annotation files. I will use your contributed file as a basis for vs code annotations. I should be able to release it next week.
Any updates on this? 😀
Any updates on this? 😀
It is partially done. The annotations look like this:
https://github.com/britzl/extension-imgui/blob/master/imgui/src/extension_imgui.cpp#L1074-L1082
There's a bunch of them that aren't finished (missing args and return values), from https://github.com/britzl/extension-imgui/blob/master/imgui/src/extension_imgui.cpp#L1115-L1118 down to here https://github.com/britzl/extension-imgui/blob/master/imgui/src/extension_imgui.cpp#L3045-L3048
Omg, didn't noticed it and made my own 😁