corner imagecorner image
IDEPlatformPluginsDocs & SupportCommunityPartners

Java Decl Gen - plugin detail

This module supports several forms of parameter, variable, array parameter and array variable declarations.

n/a
Plugin owner: sandipchitale
Website: http://blogs.sun.com/scblog
Added: 2007-10-19
Last updated: 2007-11-10
NetBeans Versions: 6.0
License: CDDL
Category: Editing
Size: 0.03 MB
Downloaded: 834 times
Rating:
 0, by 0 users


Download plugin

Verifications for NetBeans versions

Plugin is not subject to any verification

Introduction

This module supports several forms of parameter, variable, array parameter and array variable declarations.

These actions were formerly part of the contrib/CamelCase module. The CameCase movement and selections are now part of NetBeans 6.0 Java editor.

Assuming you have typed:

Foo|

in the Java editor.

ActionKey binding
Declare Parameter e.g. Foo foo |Alt+U SPACE
Declare Parameter with comma e.g. Foo foo, |Alt+U ,
Declare Variable e.g. Foo foo;|Alt+U ;
Declare Variable with initializer e.g. Foo foo = new Foo()|;Alt+U =
Declare Variable with casted initializer e.g. Foo foo = (Foo)|;Alt+U (
Declare Array Parameter e.g. Foo[] foos|Ctrl+Alt+U SPACE
Declare Array Parameter with comma e.g. Foo[] foos, |Ctrl+Alt+U ,
Declare Array Variable e.g. Foo[] foos;|Ctrl+Alt+U ;
Declare Array Variable with initializer e.g. Foo[] foos = new Foo[]{};|Ctrl+Alt+U =
Declare Array Variable with casted initializer e.g. Foo[] foos = (Foo[]) ;|Ctrl+Alt+U (

You can simply backspace over the proposed parameter or variable name and then press CTRL+Space to invoke the standard Java editor name proposal completion popup.

The highlighted regions behave like editor code templates. Use ENTER to escape the code template parameter editing mode - then the cursor will be positioned at |.

web tracker


What's new in this version

[ You have to be logged in to be able to comment. ]

User Comments

There are no comments yet.