NewAndNoteworthyNB801

(Difference between revisions)
(JavaScript)
Line 1: Line 1:
=Editor=
=Editor=
=Java=
=Java=
 +
* Due to integration of new findbugs 3.0.0 library, findbugs plugin now works on jdk8 classfiles.
 +
=Profiler=
=Profiler=
=Java Enterprise Edition=
=Java Enterprise Edition=

Revision as of 08:19, 11 July 2014

Contents

Editor

Java

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

Profiler

Java Enterprise Edition

  • Support for WebLogic Server 12.1.3

File:Weblogic.png

  • Support for WildFly Server

File:Wildfly.png

  • Installer bundled Tomcat upgraded to 8.0.9

File:Tomcat.png

JavaScript

Editor

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 Suppor 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

Platform development

C/C++

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

Projects

Debuggers

Unit Testing

Karma

  • Support for debugging JS files 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

Versioning

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

"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

Bugtracking

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

Search

HTML Project

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

File:grunt1.png

File:grunt2.png

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)

File:grunt3.png

Cordova

Avatar.js Project

IDE 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