-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wiki page - How to add tern-ide module #125
Comments
I have done that for each tern modules. For instance for tern lint https://github.com/angelozerr/tern.java/wiki/Tern-&-Validation |
There is no yet understanding. What I mean is let users to add new Modules to tern. This is possibly duplicate of #43 while there some docs for tern itself, there should be answer to user question: "How do I get my favorite framework supported and listed in Tern -> Modules ?" |
Today it's not possible, the list of modules are hard coded.
Yes that's it. I would like to support custom tern module. The big problem is that you must host your tern plugin file inside the tern/node-modules folder which belongs to an Eclipse plugin. I don't know with node.js if we can have a file outside node-modules folder?
Some screenshot are out of updated. Today we speak about tern module which is :
Today this list is hard coded. When I will have time, I would like to know if it's possible to load it with npm install and provide some UI to load tern plugin/defs from a git. Must find time for that -( |
OK, then the instruction should mention that it is not possible to do in Eclipse,
If it is packaged as OK, so modules is either plugin or typedef. BTW, https://github.com/angelozerr/tern.java/wiki/Tern-Toolings has tools list, but not how to get results
Just publish any module with try on tern-lint to publish |
I would like to support this feature soon. The basic idea is to list plugins/defs from the filesystem folder :
When tern server is started it loads plugins from the tern folder : tern/plugins and tern/node_modules/tern-* I don't know if we could have a tern-xxxx plugins outside tern/node_modules/tern-* (without having some require(../../tern) inside the tern plugin)
Wizard gives you the capability to generate tern defs, plugins and Web Browser editor. The missing features is to use the generated tern plugin with Eclipse :
I will try it |
tern as in https://github.com/angelozerr/tern.java/tree/master/core/tern.core/node_modules/tern package.json may be update to list used modules, then |
Thank's for your info. I will recontact you when I will develop custom tern module. |
https://github.com/angelozerr/tern.java/wiki/Creating-Tern-Plugins should just start from general thing like new project and pushing it to GitHub http://ternjs.net/doc/manual.html has no instructions ternjs/tern#443 |
Now this list is not harde coded and you can use your own tern repository. |
#43 is also related. Now there are #19 #20 #43 #125 and ternjs/tern#443 that all should tell what advanced user should do. Please put current knowledge and state into wiki https://github.com/angelozerr/tern.java/wiki/Creating-Tern-Plugins and close some issues. I am closing this one as outdated, plus wiki page though empty is there.
You forgot when doing Tabris POS
I am adding to wiki |
Is not the same wiki page than https://github.com/angelozerr/tern.java/wiki/Tern-Toolings-Server-Plugins ? |
I am sorry to miss that. Could you please move content to https://github.com/angelozerr/tern.java/wiki/Creating-Tern-Plugins because "Tern Toolings Server Plugins" is confusing name |
there should be Wiki page - How to add tern-ide module
related to #39 #47
The text was updated successfully, but these errors were encountered: