NewAndNoteworthyNB71

(Difference between revisions)
m
Line 20: Line 20:
==Improvements==
==Improvements==
===Scopes for Find Usages===
===Scopes for Find Usages===
-
===Improved Change Method Parameters===
+
===Javadoc Highlighting and Formatting===
 +
Javadoc comments highlighting was improved as well as formatting.
 +
 
 +
[[Image:javadoc1.png]] 
 +
===Improved Change Method Parameters Refactoring===
=Java EE=
=Java EE=

Revision as of 09:54, 15 July 2011

New And Noteworthy in NetBeans IDE 7.1

Contents


Java Editor

Inspect And Refactor

Brand new feature in NetBeans allows you to run selected java hint on selected project(s). You can create your own configurations (group of hints). Tasks like "Convert to JDK 7", "Remove System.outs" are now simplified.

Image:jackpot1.png

Image:jackpot2.png

New Refactorings

Inline

Introduce Parameter

Set of "Introduce..." refactorings is now complete with "Introduce Parameter"

Image:introduceparameter.png

Improvements

Scopes for Find Usages

Javadoc Highlighting and Formatting

Javadoc comments highlighting was improved as well as formatting.

Image:javadoc1.png

Improved Change Method Parameters Refactoring

Java EE

CDI

  • Generate interceptor for interceptor binding ( see issue 195412 ): editor popup menu "Insert Code..."

Image:interceptor.png

  • Decorator resolution : extended context for Inspect CDI action (for class element)

Image:decorator.png

  • Interceptor resolution: extended context for Inspect CDI action (for class or method with interceptor bindings )

Image:InspectInterceptor.png

Image:errors.png

Spring

  • Code completion in EL offers Spring beans and their properties

Image:NB71SpringBeanBackend.png

Image:NB71SpringBeanFrontend.png

EJB

  • Wizard for creating sample Timer SessionBean

Image:NB71TimerBeanWizard.png

Image:NB71TimerBeanEditor.png

JPA

  • code completion for table names, column names and pu names

File:JPACompletion1.png

File:JPACompletion2.png

File:JPACompletion3.png

File:JPACompletion4.png

Project System

--open-group, --close-group

You can now open and close project groups as the IDE starts, using new command-line options. As usual, --help gives details.

Maven

Find Usages

The Find Usages dialog will now show references to classes (or other types) from among artifacts in the local Maven repository. (If your user directory predates this feature you may need to reindex the local repository in the Maven Repository Browser tab.)

Generated test sources

Test source roots matching the pattern target/generated-test-sources/somedir are now included alongside src/test/java.

Also, special test source roots may be configured via build-helper-maven-plugin:add-test-source.

Code completion

The POM editor and a few dialogs offered completion on plugin goals, parameters, and similar information. Formerly this was based on a badly outdated static index; completion is now based on the regular repository indices.

Ant

Code completion

Code completion on tasks (and types) will display documentation from the Ant Manual when this add-on is installed.

Hudson

Test Results window integration

"Show Test Failures" now displays results in the Test Results window as well as the Output Window.

Authentication

You can now log in to a server without being prompted. This is useful especially for servers which have some private jobs that are hidden from anonymous users.

Versioning

VCS SPI

It is possible now to register a Versioning System via the @VersioningSystem.Registration annotation. See javadoc for more information.

Git Support Finalized

Complete Git Version Control support allows users to work with local clones as well as provides possibility to clone, fetch, pull or push remote repositories. See Git main page for more information.

Subversion Lock Feature

User actions allowing locking and unlocking files were added to the menu. It is also possible to enable on demand locking for files with svn:needs-lock property set.

Platform

Window System

API: New WindowSystemListener to receive notifications before/after the window system loads/saves.

API: Support for multiple window layouts (aka perspectives or roles), see WindowManager.setRole(String)

Usability: Close/minimize/float/drag the whole window group.

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