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

Reply via email to