NetBeans 80 NewAndNoteworthy

(Redirected from NewAndNoteworthyNB80)

Contents

Editor

Indent Guide Lines

The Guide Lines are dotted lines drawn every tab size before a character on the line. They are shown by default. You can turn off feature in menu View-Show Indent Guide Lines. To change line's color go to Options-Font&Colors-Highlighting-Indent Guide Lines. Issue 182513

image:Guidelines.png

Java

Java SE Embedded

Deploy, run, debug or profile Java SE application on an embedded device, such as Raspberry PI, directly from the NetBeans IDE. No new project is required, you can use any Java SE (and FX) project!

More detailed information can be found on Java SE Embedded wiki page: JavaSEEmbeddedHowTo

Java ME Embedded

NetBeans 8.0 will include support for Java ME Embedded 8, that will bring big update of Java ME.

More details and information related to the Java ME 8 Embedded support in NetBeans can be found on ME Embedded page: JavaMEEmbeddedHowTo

Editor

  • Exclude classes directly from a code completion list (Issue 236313)

File:ExcludeFromCodeCompletion.png

  • Show Javadoc as tooltip while hovering (Note: hold CTRL-key) (Issue 95691)

File:ShowJavadocOnHover.png

JavaFX

  • Improved integration with JavaFX Scene Builder, including ability to set Scene Builder path

File:JavaFXOptionsSBIntegration.jpg

  • JavaFX Project with Existing Sources

File:JavaFXExistingSources.png

  • Option to create custom preloader in new FXML JavaFX Application wizard

File:JavaFXPreloaderInFXML.jpg

  • Possibility to specify relative width and height (in %) of applet when running in browser

Profiler

Java SE Embedded Profiling

As mentioned in the Java part of this document profiling is now available on embedded platform. Setup details are at: JavaSEEmbeddedHowTo. issue 238490 issue 238028

Enhanced Lock Contention monitoring

The Lock Contention View is enhanced with info about thread owning monitor. issue 238546 image:Reworked_Lock_Contention.png

Improved Threads View

The view is now streamlined to be less complex and more usable. issue 238594

Improved Calibration Dialog

The Calibration dialog has been reworked to show Calibration status of available platforms. issue 237297

image:Reworked_Calibration.png

Java Enterprise Edition

Support for Tomcat 8.0 / TomEE

  • Tomcat 8.0 is now supported in NetBeans 8
  • TomEE support including out-of-box JPA, JSF and JAXRS

Image:Tomee.png

  • JSF selection available out of the box on TomEE

Image:Tomeejsf.png

  • Support for TomEE specific configuration of datasources via resources.xml

Image:Tomeeds.png

JavaServer Faces

  • Bundled JavaServer Faces updated to 2.2.4
  • Bundled PrimeFaces updated to 4.0
  • JSF Pages form Entity Classes can generate PrimeFaces templates (CRUD application)

  • JSF Hints and fixes about deprecated javax.faces.bean of the next JSF version

image:NB80_HintsToReplaceFacesBeanToJavaEE02.png

  • Facelets Template Client wizard asks for sections to generate - RFE #234204

image:NB80_TemplateClientSectionsToGenerateSelection.png

  • JSF Form/Table snippet generation got select box to choose templates styles (PrimeFaces or standard JSF)

image:NB80_PrimeFacesSnippetGeneration01.png

  • Navigation into custom components defined by @FacesComponent annotation

image:NB80_NavigationIntoFacesComponent02.png

  • Navigation and code completion for the source of the ui:include element - RFE #234501

image:NB80_NavigationIntoIncludedSource.png

image:NB80_JsfNamespaceCompletion.png

  • New action Fix namespaces - bound with Fix Imports shortcuts - RFE #205232

image:NB80_FixNamespaces.png

image:NB80_UiDefineNameSectionsCompletion.png

  • Code completion within JSF Composite Components - types and properties - RFE #225813

image:NB80_AttributeFieldsCompletion.png

Expression Language

image:NB80_ElCompletionForNamedMethods01.png

JPA

  • JPA hints are configurable now (you can disable, enable, change warning level)

image:Nb8jpahints.png

  • Bundled hibernate library is updated to 4.2.6 and eclipselink to 2.5.1
  • You can select to generate MappedSuperslasses in entities from db wizard now.

CDI

  • In beans.xml code completion for alternative classes and stereotypes from the same project is added, it's enabled for cdi 1.1 only. Issue 229795

image:Nb8ccbeansxml.png

Maven

  • Improved performance when re-running Web applications. (Issue 230565)
  • Improved performance of "Apply Code Changes" while debugging. Now it takes advantage of Compile on Save (Issue 186558)
  • "Copy on Save" for static resources enables to get better control over the Compile on Save (CoS) / Deploy on Save (DoS) feature. Now it is possible to disable standard CoS/DoS for java classes while still having static resources (html, xhtml, css etc.) updated after the save. (Issue 218345) More details about how this feature works in combination with CoS/DoS can be found here.

image:NB80_CopyOnSaveForStaticResources.png

  • Added possibility not to remember application server used for deployment. Might be used for example when testing application with various types of application server (Issue 199597)

image:NB80_OneTimeDeployment.png

image:NB80_MultipleWebResources.png

JavaScript

Knockout

  • Code completion support in Knockout templates - the code completion inside the template is template usage aware.

Image:Knockouttemplatecc.png

Angular

  • Improved recognizing controllers. NetBeans is able to find many more controllers than in NB 7.4. The IDE goes through all js files and looks whether there is defined in some way an AngularJs controller.

Image:Controllers.png

  • NetBeans is now able to find out mapping between html templates and controllers.

Image:Routes.png User can navigate through the CTRL + Mouse left button click to the template or controller definition from the route definition.

  • The code completion in html pages is improved for Angular JS. NetBeans offers the property of controllers in html templates:

Image:Cc01.png Image:Cc02.png

NetBeans is able to offer properties of anonymous object defined in an array. See the picture with the controller definition, where an array of allgifts is defined as array of anonymous objects. NetBeans offers in code completion the properties of these anonymous objects if there are needed. Image:Cc03.png

  • Generally improved GoTo Declaration functionality for Angular support.

jQuery support

NetBeans understand the code, when someone develops jQuery widget or plugin based on boilerplate. Image:JQuery-widget.png Image:JQuery-plugin.png

Platform development

  • OSGi and Netbeans module dependency jars marked in dependency list and public/private packages shown in the jar (new for Maven)

File:badgesfordependencies.png

File:filterbycluster.png

C/C++

Editor

  • Breadcrumbs

File:breadcrumbs-cpp.png

  • Hint "Introduce variable"
  • Hint "Assign Return Value To New Variable"
  • Completions "Implement/Override/Generate method"
  • Completion "Extract method body from class declaration"

Remote

  • Improve remote performance

Debugger

  • GDB Console (Window->Debugging->Debugger Console): user can use command line GDB mode and IDE will react accordingly. Any commands will be handled by IDE and reflect debugger state changes i.e. set/remove breakpoints, step actions or any others
  • Improved expandable tooltips

PHP

Editor

File:Php55-1.png

File:Php55-2.png

File:Php55-3.png

File:Php55-4.png

File:Php55-5.png

  • Support for PSR-0 and PSR-1 Standards
  • Enabled External Documentation Button in Code Completion Window
  • Added "Init Field" Suggestion
  • Added Hint to Check the Number of Return Statements in a Function Declaration
  • Added Hint to Check Wrong Param Names in PHPDocs

Twig

  • Enabled External Documentation Button in Code Completion Window

Latte

  • Enabled External Documentation Button in Code Completion Window
  • Added Hints to Check Deprecated Macros, etc.
  • Add Code Completion for Declared Controls in Corresponding Presenter

Neon

  • Code Completion of Class Methods

Project

  • Composer Supported by New Project Wizard

File:Nb80-php-new-project-composer.png

  • Support for More Test Roots per Project

File:Nb80-php-more-test-roots-1.png File:Nb80-php-more-test-roots-2.png

  • Support for Remote Synchronization for Directories

File:Nb80-php-remote-sync-dirs.png

  • Possibility to define private Include Path

File:Nb80-php-private-include-path.png

  • Support for SSH Agent

Frameworks & Tools

  • Added Nette Tester

File:Nb80-php-nette-tester-1.png File:Nb80-php-nette-tester-2.png

  • Code Analysis - support for PHP CS Fixer

File:Nb80-php-php-cs-fixer.png

Projects

Project group (none) settings is now persisted between switching to another group, so user doesn't lose lastly opened projects. issue 235343


When importing project from ZIP to existing folder structure, user is warn about it and after warning following options appears (issue 224977):

  • replacing existing folder(s) or file(s)
  • changing project location.


When invoke Collapse All in project tab, node's children are also collapsed. issue 219084


Added Close All Projects and Close Other Projects functionality in main menu. issue 190839


Maven

  • More layouts in pom dependency graph + improved painting of connections

File:mavenlayout.png

  • More build output options

File:morebuildoutputoptions.png

File:GoalExecution.png

  • Build execution overview window (opened from build output toolbar) now allows viewing sources for plugins and also debugging plugin execution. (Issue 219402, Issue 201754)

File:PluginDebuggingMaven.png

  • Some basic project templates now get created natively in the IDE (without execution of archetypes). (Issue 208462)
  • Show a diff of current effective pom against alternate setup

File:EffectivePomDiff.png

File:cloneaprojectconfig.png

  • Allow to completely turn off maven indexing. Access via "Tools|Options|Java|Maven|Index" (Issue 235732)

Debuggers

JavaScript in Nashorn

Debugging of JavaScript code executed in Nashorn (JDK 8+) script engine is supported. In a Java project, that is set up with JDK 8 or newer, it's possible to step in from Java code into JavaScript executed by the script engine. Breakpoints in JavaScript files are possible, step into/over/out work as expected, call stack show JavaScript stack frames and Variables window show JavaScript variables.

  • Editor when debugging a JavaScript file.

File:JSDebug_editor.png

  • Call stack in Debugging window when debugging JavaScript files.

File:JSDebug_debugging.png

  • Variables window when debugger is stopped in a JavaScript file.

File:JSDebug_variables.png

  • Debugging of an evaluated script.

File:JSDebug_eval.png

On any JavaScript file there's Run File/Debug File action, that runs/debugs the file in Nashorn script engine when JDK 8 or newer is registered in NetBeans. File:JSDebug_run_debug.png

Unit Testing

  • Allow running JUnit/TestNG tests on a arbitrary selected group of folders or files Issue 124313
  • Trying to navigate to a test gives user the ability to create one if it does not already exist Issue 228656
  • Added support for ABORTED tests in the Test Results window Issue 235443
  • Added support for creating Junit integration tests Issue 237412

Versioning

Subversion

Support for 1.8 working copies

With bundled SVNKit and JavaHL in 1.8 versions it is not needed to switch to a commandline client to work with 1.8 working copies.

Git

Tree view in the Diff panel

File:Git-diff-treeview.png
You can switch between the flat table and the tree view with the two toggle buttons in the toolbar.

Simpler clone wizard

File:Git-simpleclone.png
Issue 235506 RFE
You don't have to go through all three clone wizard's panels. If you fill the destination folder directly on the first panel and click on Finish, the action will work much like the git clone with a commandline client and it will use default values for remote and checkout branch.

Transparent work with Git submodules

Working with submodules should be much easier. You can now commit a submodule's state directly from the IDE, submodules will be automatically (if you accept it of course) initialized and updated after a clone. When pushing the parent repository the IDE will check if all submodule's changes will have been committed and warn you before reaching an inconsistent state in the remote repository. Issue 207067 Issue 237621

Branch filter in the Search History view

Issue 235882 RFE
File:Git-history-branchfilter.png

Review of commits after pull/fetch/push

After pulling/fetching/pushing links to the summary view/diff view are added output window Issue 229808

File:showdifforcommitsinoutputwindow.png

Other improvements

  • update to JGit 3.x Issue 230572
  • ability to change branch tracking Issue 230991
    • in the Git Repository Browser you can select a local branch and call Setup Tracked Branch from the popup menu to set the branch tracking for this local branch
    • or via context menu "Git|Branch/Tag|Set Tracked Branch..."
  • improved push to upstream work-flow - when a git push would result in a non fast-forward merge (the remote repository contains unmerged commits), you are warned and offered the option to pull the changes into the current local branch and eventually do the push again automatically.
    Issue 238398
  • added a new action "Commit Project..." Issue 235887
  • after cloning NetBeans offers to add the cloned repository to the favorites view Issue 235507

Bugtracking

Tasks window

File:Tasks80.png
In NetBeans 8.0 there are several new features in Tasks window:

  • Task Schedule - user can define his own schedule for tasks in Tasks window
    • Schedule Categories - there are three predefined categories to notify user about his scheduled task for "Today", "This Week" and all schedule tasks.
    • Notification bubble - tasks scheduled for "Today" are most important for a user, so there is a notification created to remind a user about them
  • Task Icon badges - task icon is used to show task's priority and scheduling
  • Sorting - user can now define his own sorting for tasks in Tasks window

Task Editor Changes

File:Task-editor.png
To be more user-friendly task editors where split into logical sections, all action buttons were moved to one place. A new section My Private Task Details was added where you can specify task's private data (such as private notes and schedule parameters) never to be send to the task's repository, used mainly for user's private needs.

Local Tasks Repository

We added a simple local task repository. You can create, update and delete simple tasks kept on your local machine, manage references to other tasks (even from other repositories), manage attachments for the task and even set its schedule parameters - Issue 236111.
File:Local-task-editor.png

Platform

Window System

  • Reorganized Options window

  • Document groups to restore a set of editor windows including their docking positions. Access via "Main menu|Window|Document groups" (Issue 238096, Issue 190683)

  • Editor tabs scroll as needed during drag and drop
  • Split of editor window via drag and drop

File:splitdraganddrop.png

QuickSearch

Recent Searches can be cleared (Issue 175494):
image:Nb_8_0_quicksearch_clear_recent.png

Data Systems

Files in folders can be sorted by extension (Issue 230821):
image:Nb_8_0_datafolder_sort_by_ext.png

Output Window

  • Output Window supports horizontal scrolling on Mac (Issue 216127)

Project view

File:Projectownersidebar.png

Project Groups

Project Groups UI was redesigned (Issue 236743, Issue 237120, Issue 164892)
File:RedesignedProjectGroups-1.jpg

Templates

It's possible to revert a modified template file to the original version. Use the "Revert to Default" button.
File:Templates_revert.png

Search

"Select In >" in the popup menu of search results (Issue 103791)
image:Nb_8_0_search_select_in.png

Common file actions in popup menu of search results (Issue 185030)
image:Nb_8_0_search_more_actions.png

Copy File Path action works for multiple selected files (Issue 190961)
image:Nb_8_0_search_copy_multiple_paths.png

HTML Project

Grunt Support

image:grunt.png

Karma Support

Image:Nb80-karma-0.png Image:Nb80-karma-1.png Image:Nb80-karma-2.png Image:Nb80-karma-3.png Image:Nb80-karma-4.png

Cordova

Android 4.4 WebKit debugging is now supported for Cordova 3.3+

Avatar.js Project

Avatar.js Project module is available on a stable update centre for NetBeans 8.0 build. After installation, it allows to create Avatar.js projects. Avatar.js needs to be installed on the system.

  • New Avatar.js project

File:Avatar_newProject1.png

  • Avatar.js new project wizard.

File:Avatar_newProject2.png

  • The structure of Avatar.js project in Projects window.

File:Avatar_projectStructure.png

IDE Installers

  • Installers for Solaris platform will not be provided for NetBeans 8.0 or later - see Issue 236070.

The Solaris platform is still supported for running IDE. Users on the Solaris platform can dowload and install ZIP archive instead of binary installers.

Not logged in. Log in, Register

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