Having an outline on vscode’s left pane would be amazing. I will try to find some time and investigate on that.
On Fri, 15 Jan 2021 at 14:54, Daniel-Constantin Mierla <[email protected]> wrote: > I do not use JavaScript or VSCode that much (the later mainly for markdown > editing), doing a quick web search, it seems that for JavaScript there is a > way to add typescript definition files in VSCode projects, like suggested > here: > > * > https://stackoverflow.com/questions/61770231/custom-typescript-type-definitions-file-is-ignored > > More references can be found searching web for "VSCode Typescript > Definition Files". Maybe these details help those willing to pursue further. > > Cheers, > Daniel > > On Fri, Jan 15, 2021 at 12:59 PM Nicki Otte <[email protected]> wrote: > >> >> >> I gave my best try, but i couldn’t find any easy way to make it work on >> Atom or VSCode.. >> >> If anyone is a shark at working with VSCode- or Atom extensions, please >> write to me. >> >> // Nicki Bo Otte >> >> >> >> >> >> *From: *Nicki Otte <[email protected]> >> *Sent: *15. januar 2021 11:45 >> *To: *Kamailio (SER) - Users Mailing List <[email protected]> >> *Subject: *Re: [SR-Users] Stubs for KEMI Javascript >> >> >> >> It is very well Indeed manually generated. >> >> I scrapped the KEMI documentation site, and used REGEX/Excel magic to >> convert them to proper TS interfaces. >> >> I thought to myself, make a program that could convert the C Header >> files, but the other way was easier. >> >> But yes, it has the flaw of being manually maintained. But that is my >> hurtle 😝 >> >> // Nicki Bo Otte >> >> >> >> *From: *Daniel-Constantin Mierla <[email protected]> >> *Sent: *15. januar 2021 11:34 >> *To: *Kamailio (SER) - Users Mailing List <[email protected]> >> *Subject: *Re: [SR-Users] Stubs for KEMI Javascript >> >> >> >> 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-framework/tools >> >> >> >> Maybe it's useful to reuse in this case as well. >> >> >> >> Cheers, >> Daniel >> >> >> >> On Fri, Jan 15, 2021 at 11:12 AM Nicki Otte <[email protected]> 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 <[email protected]> >> *Sent: *15. januar 2021 11:06 >> *To: *Kamailio (SER) - Users Mailing List <[email protected]> >> *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 <[email protected]> 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 >> [email protected] >> 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 >> [email protected] >> 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 >> [email protected] >> 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 > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: [email protected] phone: +34669448337
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
