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

Typically: "How do I... ", "How can I... " questions
Post Reply
wdy
Posts: 4
Joined: 14 Oct 2024, 03:12

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

Post 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?
coppelia
Site Admin
Posts: 10738
Joined: 14 Dec 2012, 00:25

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

Post 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
wdy
Posts: 4
Joined: 14 Oct 2024, 03:12

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

Post 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!
Post Reply