extension-imgui icon indicating copy to clipboard operation
extension-imgui copied to clipboard

Added annotations

Open Magnatales opened this issue 1 year ago • 4 comments
trafficstars

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

Magnatales avatar Jul 26 '24 22:07 Magnatales

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.

britzl avatar Jul 27 '24 08:07 britzl

Sounds good, thank you

Magnatales avatar Jul 27 '24 12:07 Magnatales

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? 😀

f2l2pe avatar Oct 31 '24 18:10 f2l2pe

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

britzl avatar Jan 20 '25 07:01 britzl

Omg, didn't noticed it and made my own 😁

astrochili avatar Nov 15 '25 17:11 astrochili