NewAndNoteworthyNB801

Contents

Java

Projects

  • Apache Ant 1.9.4
  • Java SE Embedded (Remote Java Platform) supports execution wrappers (e.g. sudo)

File:Ejre-exec-wrapper.png

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

File:Java-file-type.png

Editor

  • Code completion proposes singular variable names Issue 227566

File:JavaEditorSingular2.jpg

  • 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

File:JavaEditorBreadcrumb.jpg

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

Other

Java Enterprise Edition

Support for WebLogic Server 12.1.3

File:Weblogic.png

Support for WildFly Server

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

File:Wildfly.png

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.

File:nb801_primefaces50.png

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.

File:ProjecUsagesCC.png

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

File:Navigation01.png

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:
File:Navigation03.png

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

File:Navigation04.png

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.

File:ProjectMapping.png

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.

File:ModeleCC01.png

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.

File:Navigation02.png

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>

File:ConfiCC.png

HTML Project

JavaScript Unit Testing with Karma

  • Support for debugging JavaScript files with Karma has been added.

File:Karma-debug-1.png

File:Karma-debug-2.png

  • Support for code coverage has been added.

File:Karma-coverage-1.png

File:Karma-coverage-2.png

File:Karma-coverage-3.png

NPM and Bower

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

File:grunt2.png

Improved support for Grunt

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

File:grunt1.png

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

File:grunt3.png


PHP

Editor

  • Support for PHP 5.6

File:Php-56.png

  • Support for Member Code Completion in PHPDoc

File:See-code-completion.png

  • Possibility to Use Public Modifier for Generated Methods

File:Public-access-modifier.png

atoum

  • Support for code coverage

File:Atoum-coverage-1.png

File:Atoum-coverage-2.png

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

File:DebugMenu.png

  • 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

File:BigStrings.xwd.png

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

File:GitIncoming1.png

Git Repository Browser

  • Add "Search History" context menu action for branch and tag nodes Issue 245135
  • 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
  • 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.
  • Sync status of branches like "behind/ahead/merge needed" are displayed right next to the branch's name Issue 245134
  • Usability: press DEL for deleting branches/tags Issue 245093
  • Usability: double click to checkout branch/revision/tag Issue 243226

History view

File:GitCherryPick.png

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
  • changes can now also be shown in tree (similar to the normal diff view) Issue 244537

File:GitTreeMode.png

Merge dialog

File:GitMergeMode.png

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

File:screenshot-blob.png

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