Support for auto-completion etc



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



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