Download NetBeans

NetBeans IDE Features

Editing and Refactoring

Java editor features in NetBeans IDE
Click image for fullscreen preview

The language-aware NetBeans editor detects errors while you type and assists you with documentation popups and smart code completion—all with the speed and simplicity of your favorite lightweight text editor.

 
Java SE 8

Java 8 Language Tools

NetBeans IDE is the official IDE for Java 8. With its editors, code analyzers, and converters, you can quickly and smoothly upgrade your applications to use new Java 8 language constructs, such as lambdas, functional operations, and method references.

Batch analyzers and converters are provided to search through multiple applications at the same time, matching patterns for conversion to new Java 8 language constructs.

Smart Migration to JDK 8

 

Editors and File Templates

The editor in NetBeans IDE is much more than a text editor. The NetBeans editor indents lines, matches words and brackets, and highlights source code syntactically and semantically.

The editor supports several languages including Java, C/C++, XML, HTML, PHP, Groovy, CSS, and JavaScript. It can be extended to support other languages.

The IDE provides file templates for each of the technologies it supports, such as Java file templates, HTML file templates, and JavaScript file templates.

NetBeans Technology Learning Trails

 

Static Analysis

Live Parsing

Rich Refactoring

FindBugs
The cost of buggy code increases the longer it remains unfixed. The IDE gives you static code analysis tools, in particular, integration with the popular open source Java FindBugs tool.

Parsing
The IDE parses the source code live while you type. The editor marks errors, highlights occurrences, shows compiler hints, quick fixes, warnings, and language documentation.

Refactoring
The IDE's refactoring tools allow you to restructure code without breaking it. The Inspect & Transform tool enables you to run powerful inspections across your codebase, while automatically fixing your code.

Code Completion

Intelligent Navigation

Quick Insertion

Completion
The editor provides automatic code completion in several languages, including Java, C/C++, PHP, Groovy, XML, HTML, CSS, and JavaScript.

Navigation
Navigate to any file, type, or symbol using standard text, camel case format, or wild cards, and do case sensitive searches throughout your codebase.

Insertion
The editor can generate common code snippets for you within the editor. You can define code templates for common pieces of code and add record macros as you type.

Smart Suggestions

Hierarchy Inspection

Easy Customization

Suggestion
The IDE performs source code analysis and offers an extensive set of hints to quickly fix or enhance your code.

Inspection
Inspect the members and supertype or subtype hierarchies of any file in the Navigator window and Hierarchy window, which provide filters to control the level of detail displayed.

Customization
The behavior and display of the languages in the editor can be customized, including its code completion, documentation view, keyboard shortcuts, fonts, and colors.

See Also

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo