NetBeans 80 NewAndNoteworthy
m |
|||
Line 138: | Line 138: | ||
==Angular== | ==Angular== | ||
- | * Improved recognizing controllers. NetBeans | + | * Improved recognizing controllers. NetBeans are able to find out much more controllers than in NB 7.4. The IDE go through all js files and looking, whether there is defined in some way an AngularJs controller. |
+ | [[Image:Controllers.png]] | ||
+ | * NetBeans are 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 are 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= | =Platform development= |
Revision as of 09:43, 28 November 2013
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
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)
- Show Javadoc as tooltip while hovering (Note: hold CTRL-key) (Issue 95691)
- Instant Rename integrated into refactoring https://blogs.oracle.com/geertjan/entry/instant_rename_in_refactoring_in
JavaFX
- JavaFX Project with Existing Sources
- Option to create custom preloader in new FXML JavaFX Application wizard
- Possibility to specify relative width and height (in %) of applet when running in browser
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
- JSF selection available out of the box on TomEE
- Support for TomEE specific configuration of datasources via resources.xml
- See also Geertjan's blogpost
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
- Facelets Template Client wizard asks for sections to generate - RFE #234204
- JSF Form/Table snippet generation got select box to choose templates styles (PrimeFaces or standard JSF)
- Navigation into custom components defined by @FacesComponent annotation
- Navigation and code completion for the source of the ui:include element - RFE #234501
- Code completion of JSF component attributes after prefix bound with http://xmlns.jcp.org/jsf namespace - RFE #232344
- New action Fix namespaces - bound with Fix Imports shortcuts - RFE #205232
- Code completion for template sections - RFE #187943
- Code completion within JSF Composite Components - types and properties - RFE #225813
Expression Language
- Code completion for @Named methods - RFE #200385
JPA
- JPA hints are configurable now (you can disable, enable, change warning level)
- 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
Maven
- More layouts in pom dependency graph + improved painting of connections
- More build output options
- New navigator panel showing goals available for execution in the given pom.xml/project (Issue 235842) - see also https://blogs.oracle.com/geertjan/entry/early_maven_christmas_present_from
- Build execution overview window (opened from build output toolbar) now allows viewing sources for plugins and also debugging plugin execution. (Issue 219402, Issue 201754)
- 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
- Clone a project configuration (Issue 234198)
- Allow to completely turn off maven indexing. Access via "Tools|Options|Java|Maven|Index" (Issue 235732)
- 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.
- 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)
- Additional Web resources in project view (Issue 182407)
JavaScript
Knockout
- Code completion support in Knockout templates - the code completion inside the template is template usage aware.
Angular
- Improved recognizing controllers. NetBeans are able to find out much more controllers than in NB 7.4. The IDE go through all js files and looking, whether there is defined in some way an AngularJs controller.
- NetBeans are now able to find out mapping between html templates and controllers.
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:
NetBeans are 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.
- Generally improved GoTo Declaration functionality for Angular support.
jQuery support
NetBeans understand the code, when someone develops jQuery widget or plugin based on boilerplate.
Platform development
- OSGi and Netbeans module dependency jars marked in dependency list and public/private packages shown in the jar (new for Maven)
- Add dependencies: filter by cluster (Issue 71051)
C/C++
Editor
- Breadcrumbs
- 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
PHP
Editor
- Support for PHP 5.5
- 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
- Support for More Test Roots per Project
- Support for Remote Synchronization for Directories
- Support for Private Include Path
- Used SSH Agent
Frameworks & Tools
- Added Nette Tester
- Code Analysis - support for PHP CS Fixer
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:
- 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
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.
- Call stack in Debugging window when debugging JavaScript files.
- Variables window when debugger is stopped in a JavaScript file.
- Debugging of an evaluated script.
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.
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
You can switch between the flat table and the tree view with the two toggle buttons in the toolbar.
Simpler clone wizard
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
Review of commits after pull/fetch/push
After pulling/fetching/pushing links to the summary view/diff view are added output window Issue 229808
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
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
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.
Platform
Window System
- New API to customize editor tabs (Issue 236176)
- 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)
- DO_NOTHING_ON_CLOSE in NotifyDescriptor (Issue 196200)
- Editor tabs scroll as needed during drag and drop
- Split of editor window via drag and drop
QuickSearch
Recent Searches can be cleared (Issue 175494):
Data Systems
Files in folders can be sorted by extension (Issue 230821):
Output Window
- Output Window supports horizontal scrolling on Mac (Issue 216127)
Project view
- Show project owner Issue 231903Issue 238230
Project Groups
Project Groups UI was redesigned (Issue 236743, Issue 237120, Issue 164892)
Templates
It's possible to revert a modified template file to the original version.
Use the "Revert to Default" button.
Search
"Select In >" in the popup menu of search results (Issue 103791)
Common file actions in popup menu of search results (Issue 185030)
Copy File Path action works for multiple selected files (Issue 190961)
HTML Project
Grunt Support
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
- Avatar.js new project wizard.
- The structure of Avatar.js project in Projects window.