Re: Support for auto-completion etc



Someone made Typescript bindings: https://github.com/sammydre/ts-for-gjs/

It would be really great if someone were willing to work on a generator for tern files.

On Fri, Nov 9, 2018 at 11:30 AM Tony Houghton <h realh co uk> wrote:
I'm hoping it would be quite easy to write a tool which uses gjs to import a gi module and use reflection to expose all its symbols and generate a tern file or something similar, for auto-completion. There's a project called fakegir which does this for python. Is there anything for _javascript_ already out there?

This idea could be extended by cross-referencing with typelib or gir files to generate bindings for type-safe frontend languages like Typescript or Kotlin. Kotlin is really nice.

--
TH

_______________________________________________
_javascript_-list mailing list
_javascript_-list gnome org
https://mail.gnome.org/mailman/listinfo/_javascript_-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]