Hi everyone.
I wanted all of you to know, that I have made JavaScript stubs, for autocompletion in IDE’s, for those of you that use KEMI JavaScript. Specifically tested on Jetbrains PHPStorm/Webstorm.
The stubs are available for free at my GitHub page.
The link is https://github.com/captainDuckay/Kamailio-javascript-stubs
My main language isn't typescript or JavaScript, and this is one of my first public releases. With that said though, I am open for critics, or even guidance.
I hope it's usable for you.
// Nicki Bo Otte
Hello,
thanks for sharing, looks really cool! I will prepare and post a news article on kamailio.org to expose it to the larger community.
Do you know if this kind of extension is somehow compatible with VSCode or Atom editors? I am asking because I know their extensions are also in JavaScript/TypeScript.
Cheers, Daniel
On Fri, Jan 15, 2021 at 10:43 AM Nicki Otte Duckay@live.com wrote:
Hi everyone.
I wanted all of you to know, that I have made JavaScript stubs, for autocompletion in IDE’s, for those of you that use KEMI JavaScript.
Specifically tested on Jetbrains PHPStorm/Webstorm.
The stubs are available for free at my GitHub page.
The link is https://github.com/captainDuckay/Kamailio-javascript-stubs
My main language isn't typescript or JavaScript, and this is one of my first public releases.
With that said though, I am open for critics, or even guidance.
I hope it's usable for you.
// Nicki Bo Otte _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Haven’t had the pleasure yet to test it out in those IDE’s, but i’ll take the time soon. Will return with an answer soon.
// Nicki Bo Otte
From: Daniel-Constantin Mierlamailto:miconda@gmail.com Sent: 15. januar 2021 11:06 To: Kamailio (SER) - Users Mailing Listmailto:sr-users@lists.kamailio.org Subject: Re: [SR-Users] Stubs for KEMI Javascript
Hello,
thanks for sharing, looks really cool! I will prepare and post a news article on kamailio.orghttp://kamailio.org to expose it to the larger community.
Do you know if this kind of extension is somehow compatible with VSCode or Atom editors? I am asking because I know their extensions are also in JavaScript/TypeScript.
Cheers, Daniel
On Fri, Jan 15, 2021 at 10:43 AM Nicki Otte <Duckay@live.commailto:Duckay@live.com> wrote: Hi everyone.
I wanted all of you to know, that I have made JavaScript stubs, for autocompletion in IDE’s, for those of you that use KEMI JavaScript. Specifically tested on Jetbrains PHPStorm/Webstorm.
The stubs are available for free at my GitHub page.
The link is https://github.com/captainDuckay/Kamailio-javascript-stubs
My main language isn't typescript or JavaScript, and this is one of my first public releases. With that said though, I am open for critics, or even guidance.
I hope it's usable for you.
// Nicki Bo Otte _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla - https://www.asipto.com https://twitter.com/miconda - https://www.linkedin.com/in/miconda Kamailio Advanced Training - https://www.asipto.com/u/kat
Is the list of function prototypes auto-generated with some tool, or has to be maintained manually?
I did something similar for lua, to be able to check for syntax errors with a lua linter, and there I started the python tool that generates the KEMI docs, adjusting for these specific needs -- you can see more at:
* https://github.com/kamailio/kamailio/tree/master/misc/tools/kemi/lua
The python tool for kemi docs is at:
* https://github.com/kamailio/kamailio-docs/tree/master/kamailio-kemi-framewor...
Maybe it's useful to reuse in this case as well.
Cheers, Daniel
On Fri, Jan 15, 2021 at 11:12 AM Nicki Otte duckay@live.com wrote:
Haven’t had the pleasure yet to test it out in those IDE’s, but i’ll take the time soon. Will return with an answer soon.
// Nicki Bo Otte
*From: *Daniel-Constantin Mierla miconda@gmail.com *Sent: *15. januar 2021 11:06 *To: *Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org *Subject: *Re: [SR-Users] Stubs for KEMI Javascript
Hello,
thanks for sharing, looks really cool! I will prepare and post a news article on kamailio.org to expose it to the larger community.
Do you know if this kind of extension is somehow compatible with VSCode or Atom editors? I am asking because I know their extensions are also in JavaScript/TypeScript.
Cheers, Daniel
On Fri, Jan 15, 2021 at 10:43 AM Nicki Otte Duckay@live.com wrote:
Hi everyone.
I wanted all of you to know, that I have made JavaScript stubs, for autocompletion in IDE’s, for those of you that use KEMI JavaScript.
Specifically tested on Jetbrains PHPStorm/Webstorm.
The stubs are available for free at my GitHub page.
The link is https://github.com/captainDuckay/Kamailio-javascript-stubs
My main language isn't typescript or JavaScript, and this is one of my first public releases.
With that said though, I am open for critics, or even guidance.
I hope it's usable for you.
// Nicki Bo Otte
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - https://www.asipto.com
https://twitter.com/miconda - https://www.linkedin.com/in/miconda
Kamailio Advanced Training - https://www.asipto.com/u/kat
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users