Note: NetBeans 9 is a work in progress and not released yet. Below is a list of features it will have.NetBeans 9 runtime platforms are only JDK8 and , JDK9, JDK10. Until JDK9 is GA it is recommended to run NB9 on top of JDK8 which is more stable. JDK9 JDK9 and JDK10 can be used as Projects Java Platform even NetBeans itself is running on top of JDK8.
Table of Contents | ||
---|---|---|
|
...
JDK 10 – Local Variable Type Inference
Hints and refactorings for transforming to/from the new "var" type:
JDK 9 – Java Platform Module System Support
Java Application project extensions
NetBeans 9 supports provides features to support JPMS (Jigsaw) to full extent. Modulepath was added as a crucial paradigm to NetBeans in addition to Classpath.
...
HTML5 tags are supported in NetBeans editor and HTML5 JavaDoc can be generated using projects Properties | Documenting customizer.
...
JDK 9
...
– JavaShell
Java Shell is a tool in JDK9 defined in JEP 222 to introduce REPL (read-eval-print-loop) capabilities to Java. NetBeans provides integrated console-like UI for the Java Shell, leveraing NetBeans editor capabilites. NetBeans can support the tool with the user project configuration, so the Java Shell is set up to work with project classes and libraries.
...
Snippets written in JShell can be redefined and tested, even against a running code. When prototype is ready, it can be saved to a regular java source file and integrated with the project.
PHP
All the PHP support for NetBeans 9 was contributed by our NetBeans user Junichi Yamamoto.
PHP 7.1 Support
- Class constant visibility
- Multi catch exception handling
- Nullable types
- Support for keys in list()
- Coloring for new keywords(void, iterable)
- PHP version in Project Properties dialog
PHP 7.0 Support
- Context sensitive lexer
Editor
- Hint for void return types
- Hint for incorrect non-abstract methods
- Suggestion for the strict types declaration. It is suggested when the caret is on the line which contains "<?php" and the file doesn't have the declaration.
- Lowercase code completion for TRUE, FALSE, and NULL constants. Enabled by default.
- Code folding for arrays
Twig
- Autocompletion for delimiters, brackets, and quotes
Java Profiler
Profiler Results Improvements
...
The popups used to configure the profiler or filter the results can now be resized, which makes it easier to handle long class or method names.
C/C++
Dbx support
C/C++ debugger supports dbx native debugger.
Clang-format support
C/C++ editor supports popular formatting tool clang-format.
Clank-based Diagnostics (Experimental)
We have added new diagnostics based on the Clank (java clang) that can show you error path for the problem discovered, use Fix it suggestions.
To turn on new diagnostics go to Tools->Options->Editor->Hints
See null deference error path example below