Documentation

FAQ

Find concise answers for the most frequently asked questions about the Eclipse N4JS project.

Frequenctly Asked Questions

Common N4JS topics such as Open-Sourcing, JavaScript, Java and Typescript Comparison.

N4JS & Java Comparison

A comparison between the features of N4JS and Java.

N4JS & Typescript Comparison

A comparison between the features of N4JS and Typescript.


Features

The Feature Table describes the state of all current N4JS Language and IDE features. For specifics on each feature described here, see their respective feature pages:

Async/Await

Learn about the benefits of asynchronous data flows and how they work with N4JS code.

Dependency Injection

Configure dependencies between classes with built-in Dependency Injection support.

Generics

N4JS Generics look similar to Java’s generics with some differences that are illustrated in this article.

Modules

Modules help keep code well-defined and easy to comprehend. Read about keeping large projects maintainable with Module support within the N4JS IDE.

Node.js Support

Seamless integration of N4JS projects with existing node.js-based environments.

Nominal vs. Structural Typing

N4JS provides both forms of typing. Read the feature on how they are combined in N4JS.

Test Support

The N4JS IDE and the built-in test execution runtime Mangelhaft were designed from the ground-up to support Test Driven Development. Explore how testing with N4JS will help ensure your projects behave as expected.


Tutorials

IDE Setup & HelloWorld!

This short introduction covers the basics of getting up and running with the N4JS IDE. From installation to running HelloWorld!, quickly learn about new features of the N4JS IDE, how to create a new project, manage workspaces and begin development!

N4JS IDE Setup Guide

Basic installation and setup instructions.

npm Export Guide

The npm Export Guide briefly covers the essentials of Node.js development. A simple code example is written and exported from the N4JS IDE as an npm package, run from the command line and published to the npm registry. Quickly learn how to streamline Node.js development using the N4JS IDE.

npm Export Guide

Basic npm export and publishing instructions.

Node.js App with N4JS Tutorial

Using the built-in example projects as a reference, this in-depth tutorial covers the most important tools and features of the N4JS IDE. The example project is explained as a domain model and built step-by-step. New features of the N4JS IDE are introduced along the way such as modules, type annotations, dependency injection, testing with an example test project and more.

Node.js App with N4JS Tutorial

Begin using the more powerful features N4JS has to offer!

Chess Game App with N4JS Tutorial

In this tutorial, we will develop a simple and yet fun (!) web-based chess game with N4JS and React. The final result of the tutorial is a chess game that allows two humans to play against each other.

Chess game tutorial (part 1)

Begin developing web apps with N4JS and React!

Chess game tutorial (part 2)

Use Redux to manage chess game state with Redux and test game logics with our test framework Mangelhaft


Specifications

N4JS Language Specification

For a complete reference of the N4JS Language, the Specification is available at the following location:

This is an HTML version of the asciidoc based documentation on Github. The language specification is also available in the Eclipse help of the N4JS IDE itself.

N4JS IDE Specification

For a reference of the N4JS IDE, i.e. the specific views and UI features of the Eclipse based IDE, the Specification is available at the following location:

This is an HTML version of the asciidoc based documentation on GitHub. The IDE specification is also available in the Eclipse help of the N4JS IDE itself.

N4JS Design Documentation

The design and other internal information valuable for contributors to Eclipse N4JS can be found at the following location:

This is an HTML version of the asciidoc based documentation on GitHub.

Release Notes

Information on the current state of the N4JS Language and IDE including details of known issues and upcoming features that are under development.

Quick Links