NetBeans 74 NewAndNoteworthy

(Difference between revisions)
(PhoneGap Sample Application)
(PhoneGap Sample Application)
Line 51: Line 51:
=== PhoneGap Sample Application ===
=== PhoneGap Sample Application ===
-
TBD
+
PhoneGap Sample application shows how to write rich mobile applications in HTML5 and Javascript using JQuery, PhoneGap (Geolocation API and Contacts API) and Google Maps API. The very same code can be tested on both iOS and Android devices.
 +
 
[[image:pgsample.png]]
[[image:pgsample.png]]

Revision as of 08:37, 18 April 2013

Contents

CSS Preprocessors

Editing

Basic editing support for Sassy CSS and LESS CSS preprocessor files has been added to Netbeans dev build. The work is still in progress, but the main part is ready to use:

  • syntactic and semantic (parser based) coloring for the language constructs,
  • indentation, simple reformat of code,
  • code folds,
  • file templates

For variables and mixins we provide:

  • go to declaration,
  • mark occurrences,
  • instant rename,
  • code completion (also shows items from imported files),
  • vars, mixins and imported files shown in the navigator,
  • find usages and refactor rename among files.

Compilers

Sass and LESS compilers can be set in IDE Options.

image:Css_preprocessors_compilers.png

Project Properties

TBD

JavaScript Libraries

  • ability to refresh available libraries

File:Jslibs-update.png

Java

Editor

  • subword completion (issue 212412)
  • "select next/previous element" now supports javadoc comments and line selections (issue 215552)

Hints

HTML5 Project

"Dump Document" in embedded browser's context menu.

PhoneGap

Build, Deploy and Run Mobile Applications developed using standardised web APIs on Android/iOS Simulator or Device.

PhoneGap Sample Application

PhoneGap Sample application shows how to write rich mobile applications in HTML5 and Javascript using JQuery, PhoneGap (Geolocation API and Contacts API) and Google Maps API. The very same code can be tested on both iOS and Android devices.

image:pgsample.png

Support for Android and iOS Browsers

TBD

Network Monitor

Network monitor helps to analyze REST related communication, WebSocket communication and any network requests which failed. It is available for Chrome with NetBeans Integration and Embedded WebKit Browser.

For each request it displays request and response headers:

image:Nm1.png

and response received from the server:

image:Nm2.png

and call stack which triggered this network request:

image:Nm3.png

For WebSocket communication all text frames are displayed:

image:Nm4.png

The network monitor tries to provide help in certain common situations:

image:Nm5.png

PHP

Editor

  • Allow "self", "static" and "this" in @return annotation
  • Generation of getters and setters for static fields
  • Support for deprecated elements (strike-through element names)
  • String Auto-Concatination after Typed Break
  • Hint to detect depth of nested blocks
  • Hint to detect unreachable statements
  • Hint to detect empty statements
  • Hint to detect direct use od superglobal arrays
  • Hint conditions should use brackets
  • Different coloring of single/multi lines comments
  • Hint to check whether current use of "@" is proper
  • Hint to check the number of line in a method (class, iface, trait?) declaration
  • Hint to check the closing PHP delimiter at the end of file

Refactoring

  • Rename refactoring improvement (If renaming a class added a possibility to rename its declaration file as well)

Twig

  • Toggle comment
  • Braces matching

Apache Conf

  • Toggle Comment

NEON

  • Toggle Comment

INI

  • Toggle Comment

Project

  • HTML5 (Easel) integration
  • Customizer for JavaScript libraries
  • CSS preprocessors integration
  • Namespace for new PHP classes in the New File wizard

PHPUnit

  • Run Focused Test

Frameworks & Tools

  • Zend Framework 2 supported
  • Adding dependencies via Composer
  • Static code analysis - support for code inspection (code sniffer, mess detector).

Projects

License Header template selection in project UI, template itself can be placed in project space locations. File:License_headers.png

Run Project toolbar button history File:Run_history.png


Open files are stored as part of Project Group now, when switching you will get the right set of files as they were when you left the group. see issue 168578

Ant

Bundled Ant upgraded to version 1.9.0.

Maven

  • Bundled Maven upgraded to version 3.0.5.
  • Project Group now can have a custom Maven distribution associated for execution, effectively overriding the value from Tools/Options, see issue 197577
  • Compile on save now execution maven, not ant builds, CoS on by default. see FaqCompileOnSave
  • maven/ant apisupport - mark non-public packages use and use of transient dependencies in editor and Todo list - File:Whitelists.png
  • Use available JDK platform with Maven projects based on enforcer plugin rule. see issue 215698
  • (optionally) show groupId, artefactId and version in maven project node (+ allow userdefined patterns) (issues 194773, 227578)

image:mavenprojectnodenamecustomization.png

Debugger

TBD

Versioning

  • double clicking on a file in the commit dialog will open its diff view (this simplifies the review process before committing) (issue 223178)
  • versioning menu entries were reordered (to decrease number of top level menu items and to make the ordering similar in every VCS) (issue 226504, 223545)


Subversion

Reintegrate Branch

The Subversion merge dialog now allows you to easily merge a feature branch back into trunk. File:Reintegrate_branch.png

Diff between branches

The Subversion diff view now allows to compare any two trees, thus letting you diff local changes against another revision, branch or tag or any two revisions from the repository. File:SvnDiffTrees.png

Mercurial

Switching between queues

When pushing or popping Mercurial Queues patches, the dialog automatically switches between queues when a patch from a different queue is selected. File:HgGoToPatch.png

Rebase Support

NetBeans offers the full support for Mercurial rebase command.

File:HgRebase.png

Diff between revisions

The diff view allows to select any revisions to compare and displays modifications between the two revisions.

File:HgDiffRevisions.png

Git

  • JGit Version Upgrade to 2.3 (issue 221737
  • Support for 'git commit --amend' (issue 215636)

image:git-amend.png

  • create and switch to a branch in one step (issue 226686)

image:git-createandswitchtobranch.png

  • push, pull, fetch from upstream actions now work on multiple repositories (issue 225058)

Rebase Support

(issue 221661)

File:GitRebase.png

Diff between revisions

The diff view allows to select any revisions to compare and displays modifications between the two revisions. This feature can also be used to compare different branches or tags. (issue 207165)

File:GitDiffRevisions.png

Notifications

New Notifications TC is introduced in 7.4 - main goal is to list all notifications displayed in one IDE session and enable users to go back to a notification's details if then need/want to. For more information see the specification

File:NotificationsTC.png

Network Proxies

User can now reload system proxy settings and doesn't need to restart IDE. Several changes has been done in General Options panel - the Reload button has been added. The user can also test if the connection can pass with the Test connection button. File:Proxy_reload.png

Search

  • redesign of the search dialog

image:redesignsearchdialog.png

  • search in open editors (issue 5009)
  • search results can now be modified. Press DEL key to hide undesired items in the result set. (issue 200020)
  • tooltips of search results show surrounding lines (issue 202628)

image:searchsurroundinglines.png

Platform

  • Reorder window tabs using keyboard (issue 83247)
  • Enhanced editor tabs
    • better multi-line support,
    • background color per project,
    • documents drop down list sorted by project
    • etc.
  • Dark color themes for Metal and Nimbus look and feels.
  • Look and feel switcher in Options window.
  • Filter field in New Project and New File windows.
  • Quicksearch in toolbar customizer (issue 187230)
  • Ordering in Documents dialog window (issue 215401)
  • "Distraction-free" mode (issue 211136)

Quicksearch

  • quicksearches can now be enabled/disabled (issue 143367)

image:quicksearchoptions.png

  • command prefixes of the quicksearches are shown (+tooltip) (issue 220051)
  • quicksearch for project(names) (issue 224378)
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