Open paulvi opened 9 years ago
@angelozerr Where is current list inside tern.java ?
Where is current list inside tern.java ?
List is computed on runtime. It loops for folder from a tern folder (defs, plugin + node_modules/tern-*) ro retrieve list of tern plugins + defs (I have called that tern modules inside tern.java).
It's the first step, after that, each module displays information, like url, options of the tern plugin, etc. It uses metadata file at https://github.com/angelozerr/tern.java/tree/master/core/tern.core/metadata (I think it should be cool if each tern plugin could host this metadata file, but it's another topic)
By default, tern.java use this tern repository https://github.com/angelozerr/tern.java/tree/master/core/tern.core/node_modules/tern but you can use your won repository if you wish.
I think list should be hard coded in a JSON repository file https://github.com/marijnh/tern/issues/424 Any IDE, tools, could uses this JSON file to list those non official modules to install it (with npm for instance).
so there is no copyable list now.
For me "official" is coming from from https://github.com/marijnh/tern or http://ternjs.net/ , that is approved by tern authors or at least known by.
waiting for @marijnh comment
Particular framework support is implemented via tern plugin.
As there are many frameworks and many plugin developers, there should be central registry to list them all.
For example I know mostly those started by @angelozerr
https://github.com/angelozerr/tern-liferay https://github.com/angelozerr/tern-node-express https://github.com/angelozerr/tern-node-mongoose https://github.com/Slava/tern-meteor
The best summary currently may be inside TernIDE Eclipse plugin
Plugins can be listed in