`jjs` is util inside Java 8 JDK to work with Nashorn JavaScript engine (https://blogs.oracle.com/nashorn/). Nodeclipse JJS feature lets you create new Nashorn project, edit JavaScript files and execute using jjs (from any project type). Try and compare var jsArray = [1,2,3,4]; jsArray.forEach(function(el) { print(el) } ); the same with Java Collections and lambda usage: var jsArray = [1,2,3,4]; var list = java.util.Arrays.asList(jsArray); list.forEach(function(el) { print(el) } ); Check examples in https://github.com/PaulVI/NashornSandbox Hints: - rename .js to .jjs to have less run options - JSHint-Eclipse is included, with JSHint 2.1.10 that is EcmaScript 5 aware. Configure in .jshintrc file. - use Ctrl+Alt+E or StartExplorer/Show in File Manager, or Ctrl+Alt+D or StartExplorer/Start Shell Here, - use EditBox for block color highlight This and more plugins are available from Nodeclipse updates repository http://www.nodeclipse.org/updates/
. Project sources are at https://github.com/Nodeclipse/nodeclipse-1/tree/master/org.nodeclipse.j… Built latest version with `mvn package` and install from generated .zip. Check README.md for further details. Raise an issue for question. Listed in Nodeclipse Plugins List.
Categories: Application Development Frameworks, IDE, Tools
Tags: nodeclipse, enide, javascript, jjs, nashorn, engine, java 8, lambda
Additional Details
Eclipse Versions: 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)
Platform Support: Windows, Mac, Linux/GTK
Organization Name: Nodeclipse/Enide
Development Status: Beta
Date Created: Saturday, October 19, 2013 - 04:18
License: Other Open Source
Date Updated: Friday, January 15, 2021 - 10:11
Submitted by: Paul Verest
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
December 2024 | 0/0 | 0 | 2 |
November 2024 | 609/658 | 1 | 10 |
October 2024 | 631/663 | 1 | 9 |
September 2024 | 557/642 | 3 | 5 |
August 2024 | 597/641 | 1 | 12 |
July 2024 | 654/663 | 1 | 9 |
June 2024 | 567/681 | 3 | 14 |
May 2024 | 563/682 | 4 | 12 |
April 2024 | 512/687 | 7 | 8 |
March 2024 | 631/694 | 2 | 8 |
February 2024 | 609/687 | 2 | 4 |
January 2024 | 614/691 | 2 | 11 |
Reviews Add new review
Auto-completion for Java types
Submitted by Roberto Pierpaoli on Wed, 02/01/2017 - 05:15
Hi,
I'm starting to explore the Nashorn world and I've just installed your plugin.
Everything goes smooth while remaining in the JS world, but when I start importing Java classes there's no aid from the plugin, I mean:
var nioFiles = Java.type('java.nio.file.Files');
nioFiles. (<= Ctrl + Space)
there are no suggestions and I have to keep the class' Javadoc open to remember what can be invoked and how.
Is it intended to be so or I'm missing something?
Thanks,
R.