NewAndNoteworthyNB801

Java

Projects

Apache Ant 1.9.4

Java SE Embedded (Remote Java Platform) supports execution wrappers (e.g. sudo)

Java file icons in projects differs by type (class, abstract class, enum, interface, annotation) Issue 225049

Editor

Code completion proposes singular variable names Issue 227566

Minor improvements in "Select next/previous element" Issue 146602

New code templates: " currMethodName ": name of the surrounding method Issue 160042 " currPackageName ": name of the enclosing package Issue 210454 " currClassFQName ": fully qualified name of the enclosing class/type/enum Issue 210454

Breadcrumbs shows package of the type too Issue 237904

Hints

Due to integration of new findbugs 3.0.0 library, findbugs plugin now works on jdk8 classfiles. Issue 243024

Improve comment handling for hints and refactorings - JavaDoc won't get deleted anymore Issue 239487

"Import statics" hint supports fields/enum-fields too Issue 89258

Remove unnecessary semicolon after an empty statement Issue 244934

Maven

Dependency graph uses project icons Issue 217106

Other

Incremental search results in Go To File provide much faster response. Issue 195814 Issue 231532 Issue 178610

faster response. Quicksearch for symbols and types now also shows the projectname if available Issue 139268

Java Enterprise Edition

Support for WebLogic Server 12.1.3

Support for WildFly Server

The WildFly server plugin, contributed by the JBoss team, is now included in the IDE distribution.

Tomcat updated to 8.0.9

Tomcat bundled with NetBeans 8.0.1 was upgraded to version 8.0.9.

GlassFish updated to 4.1

GlassFish bundled with NetBeans 8.0.1 was upgraded to version 4.1.

PrimeFaces updated to 5.0

Bundled PrimeFaces library was upgradet to version 5.0.

JavaScript Editing

Code Completion Based on an Identifier Usage

Now NetBeans also offers in code completion items that are counted from usage of an identifier in the project.

For example on the picture above the code completion is called after myApi identifier. NetBeans looks for all usages of this identifier and find out, which functions and properties are called after the myApi identifier in the project. As a result the items getAllUsers(), getContext(), printInfo() and closeAllConnections() are added to the code completion.

These items doesn't have to be correct, but if the code is written in a style they can help a lot. User can recognized these items by the gray color of the file name.

Require JS Support

The Require JS Support is now a part of the NetBeans.

Navigation to the used module

On the picture above there is shown a beginning of a module that define usage of modules that are used. User can navigate to the used module through CTRL+Click functionality. NetBeans opens the used module file, if there is possibility to find it.

In the same way works navigation in require definition:



and navigation in requirejs.config, where the path to a file can be redefined:



RequireJs support try to find the location of an module in similar way, how it's done in runtime. It means that are applied baseUrl and paths attributes from config. If the module is still unreachable from design time, user can add the mapping to the project properties. User can define the mapping int Project Properties -> JavaScript Frameworks -> RequireJs -> Path Mapping.



As the mapping can be set a part of path or whole path that will be resolved to the folder or file.





Linking used module and function parameters

On the pictures above are shown that there is a definition of using modules like DeferredFactory, BaseJSInsightDataProvider, JavaScriptObjectProperty etc. The main declared function obtains these modules as parameters. RequireJs module exports methods and data from the module in certain way. The NetBeans RequireJS module is able to find out the exposed structures and connect these data with the parameters of the main declared function.

As a result, the code completion of the parameters at the main module function suggest the exposed methods and properties from the used module. You can see on the picture code completion of exposed methods and properties of JavaScriptObjectProperty module. Also if the module has appropriate JSDoc, this JSDoc is shown in the doc window.

Another effect of the linking used modules with the function parameters is navigation to the exposed methods / properties definition. As is displayed on the picture below, through the CTRL+Click functionality, user will be navigate to deSerialize method declaration in JavaScriptObjectProperty module.

Code completion for config properties

The support module adds code completion for the config properties, if the config object is a parameter of the config method. Also there is displayed documentation of the properties. </br>

HTML Project

JavaScript Unit Testing with Karma

Support for debugging JavaScript files with Karma has been added.

Support for code coverage has been added.

NPM and Bower

New support for package.json and bower.json. Node.JS and Bower modules can be installed directly within the IDE.

Improved support for Grunt

Grunt tasks are now available on project level for HTML5 Project, PHP, Maven and Web Projects.

Grunt tasks can be mapped to Project's actions (Build, Clean, Clean and Build)





PHP

Editor

Support for PHP 5.6

Support for Member Code Completion in PHPDoc

Possibility to Use Public Modifier for Generated Methods

atoum

Support for code coverage

Debugger

Floating variable view now spans the whole editor width for comfortable use. Issue 245042

History of last projects executed under debugger is put into the popup menu of Debug toolbar button. This makes it consistent with Run button. Issue 193872

When there is not enough memory to show a variable value, the first 100 000 characters are displayed and there is an option to save the full content to a file. Issue 243700

Versioning

General

"Resolve conflicts" is now available as toolbar action Issue 245127

Git

General

Update to JGit 3.4.1 Issue 245452

Provide an "Open configuration" action at "Git -> Repository -> Open Configuration" which opens the .git/config file in the NetBeans editor Issue 245254

"Incoming/outgoing" view

A new view for displaying incoming and outgoing commits. Adds two new actions "Show In/Outgoing" displaying unpulled (unpushed) commits into (from) a specific branch. Issue 245076

Git Repository Browser

Add " Search History " context menu action for branch and tag nodes Issue 245135

" context menu action for branch and tag nodes Add " Sync with tracked branch " context menu action for branch node. This action moves the branch's head to the new commit if it is a ff merge. Issue 245078

" context menu action for branch node. This action moves the branch's head to the new commit if it is a ff merge. Add option to automatically pull branches Issue 244707

How to set it up:

a) in the repository browser open the popup menu on a local branch

b) select/unselect the option "[x] Automatically Synchronize with "origin/XXX"

c) when selected then the local branch will be synced after a fetch/pull automatically.

How to set it up: a) in the repository browser open the popup menu on a local branch b) select/unselect the option "[x] Automatically Synchronize with "origin/XXX" c) when selected then the local branch will be synced after a fetch/pull automatically. Sync status of branches like "behind/ahead/merge needed" are displayed right next to the branch's name Issue 245134

like "behind/ahead/merge needed" are displayed right next to the branch's name Usability: press DEL for deleting branches/tags Issue 245093

Usability: double click to checkout branch/revision/tag Issue 243226

History view

Add "Cherry pick" action Issue 235267

The action is available also from the Git menu as Git > Branch/Tag > Cherry Pick... In the Show History view it displays only if the commit has not yet been merged into the current branch.

"Show changes" view

view can now be opened without changing the context - assign a shortcut for the action name " Open Status Window " in the keymap options Issue 243931

" in the keymap options changes can now also be shown in tree (similar to the normal diff view) Issue 244537

Merge dialog

allow to specify fast-forward behavior Issue 245236

Commit dialog

Open diff of files in one tab instead of n-tabs. Git displays the diff in one single tab with all the files selectable in a table at the top of the tab - similar to the normal diff view. Issue 237636

Platform

Mouse wheel scrolling of inner tabs in Output, Search Results and Usages windows. Issue 243529

Closing of minimized windows with mouse middle-click. Issue 244584

Database

Provide a way to display/edit BLOB content as text in dataview Issue 241490