How to get autocompletion for custom modules in Lua

Hello, how are you writing your prosody modules? I am trying to write a prosody module by reading other modules to get which function or variables exists. Is this true approach and what is yours?

local url = require “socket.url”;
I copied /usr/lib/prosody from Docker container to the host, my expectation was to see functions or variables after typing “url.”


1 Like

Have the same question, It’d be really if someone answered this.

@Sadegh_Hosseini @nacnac

How can I get the names of the hooks and functions specific to jitsi?
Is there any documentation concerning that?

This will help you: jitsi-meet/resources/prosody-plugins at master · jitsi/jitsi-meet · GitHub

And this one is useful for XMPP messaging: util.stanza – Prosody IM