-
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
[Research][Plugins] Nashorn support - tern plugin for nashorn #196
Comments
This one is about Hashorn syntax and hints tooling support included into ternIDE I know that Nashorn has globals defined like "Java", "JavaFX", "$ARG" I am researching now where to get full definitions... |
http://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/toc.html http://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/shell.html#sthref24
http://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/api.html#sthref17
Of course completion from Java types is out of scope
var intNum = 10;
print(intNum.class);
var string = "a string";
print(string.class); Output:
|
I can't find "tern plugin for nashorn" http://www.wow.com/search?q=tern+plugin+for+nashorn&s_pt=aolsem&s_it=opensearch https://github.com/marijnh/tern/issues?q=nashorn has nothing |
No time to develop it, but if you or other people wants to develop it, I could help you.
Perhaps we could call JDT inside tern nashorm plugin with Flux? Don't know if it's possible, it's just an idea... |
We have discussed it several month ago, that if you do all plugins yourself you end up unable to support them all.
that would be JDT integration. that is project is be Java project. Flux is cloud service. |
ref #125 |
BTW, please create and use "Plugin" label. |
From http://www.infoq.com/articles/nashorn found that
https://wiki.openjdk.java.net/display/Nashorn/Nashorn+extensions https://wiki.openjdk.java.net/display/Nashorn/Nashorn+Documentation § javax.script guide While docs are there, they should be in some .json and .xml already as they are already supportted by Netbeans |
Please support Hashorn
https://blogs.oracle.com/nashorn/
related to #33
The text was updated successfully, but these errors were encountered: