Page 1 of 1

Is there any way I can auto-complete when using a remote API with Python?

Posted: 28 May 2025, 04:12
by wdy
I find that when using Python through ZMQRomoteAPI, it will not automatic complete the function I can use, like sim.Get... I can not see what functions are there, which means I need to remember all the functions in the usermanual. It is really a huge work, any way to simplify this work?

Re: Is there any way I can auto-complete when using a remote API with Python?

Posted: 28 May 2025, 09:39
by coppelia
Hello,

this depends on what IDE you are using. In general you can create any auto-completion / API highligthing with sim.getApiFunc and sim.getApiInfo. Have a look at the demo add-on in addOns/Notepad++ autocompletion.lua

Cheers

Re: Is there any way I can auto-complete when using a remote API with Python?

Posted: 03 Jun 2025, 10:34
by wdy
coppelia wrote: 28 May 2025, 09:39 Hello,

this depends on what IDE you are using. In general you can create any auto-completion / API highligthing with sim.getApiFunc and sim.getApiInfo. Have a look at the demo add-on in addOns/Notepad++ autocompletion.lua

Cheers
Thanks for your reply, it is useful!