Completions.jsonin autocomplete-atom-api


I would like to know how the completions.json has been constructed in atom. I am trying to build a similar package to extend the autocomplete features for the electron api and would like to know how the same can be generated for electron. I hope it was not manually constructed.


I suspect it was auto-generated from the documentation metadata. Atom uses the donna tool to generate metadata from the documentation comments in the code. From there, other tools process it further to generate the documentation you see on the website.