Keymaps for editor emulations

You can customize the JBuilder environment to emulate your favorite editor. JBuilder provides the following editor emulation keymaps:

The Visual Studio® editor emulation is keystroke compatible with Microsoft's Visual Studio® editor.

You can use the Keymap Editor to view individual keybindings. Select Tools|IDE Options or Tools|Editor Options and click Customize in the first page. The Keymap Editor is viewable in all editions of JBuilder.

These are features of JBuilder Professional and Enterprise:
You can easily customize any editor emulation. To change or customize JBuilder's editor emulation,

To learn how to use the Keymap Editor, click the Help button in the Keymap Editor dialog.

Most of these keymaps are also available as samples, which you can use as general models for creating new keymaps.

Keymaps by category

To view standard keyboard shortcuts in these emulations, choose one of the topics below. In these tables, all keystrokes are in regular type.

Note: Solaris users, both sets of arrow keys have been mapped to the same actions.

Note: Linux users who use KDE, please see the KDE keystrokes topic at the end of this file.


Cursor Movement

Note: In the Brief emulation, if you use Alt + l, Alt + c, Alt + m, or Alt + a commands, any cursor movement will select what the cursor traverses.

Some keys are not available on all platforms.

Command

Default / CUA

Emacs

Brief

Visual Studio®

Left one character

Left arrow

Ctrl + b, Left arrow

Left arrow, Solaris Left arrow

Left arrow, Solaris Left arrow

Right one character

Right arrow

Ctrl + f, Right arrow

Right arrow, Solaris Right arrow

Right arrow, Solaris Right arrow

 

 

 

 

 

Left one word

Ctrl + Left arrow

Alt + b, Ctrl + Left arrow

Ctrl + Left arrow, Ctrl + Solaris Left arrow

Ctrl + Left arrow, Ctrl + Solaris Left arrow

Right one word

Ctrl + Right arrow

Alt + f, Ctrl + Right arrow

Ctrl + Right arrow, Ctrl + Solaris Right arrow

Ctrl + Right arrow, Ctrl + Solaris Right arrow

 

 

 

 

 

Up one line

Up arrow

Ctrl + p, Up arrow

Up arrow

Up arrow

Down one line

Down arrow

Ctrl + n, Down arrow

Down arrow

Down arrow

Beginning of line

Home

Ctrl + a

 

Home

Beginning of line/
top of window/
start of file

 

 

Home, Shift + Home

 

End of line

End

Ctrl + e

 

End

End of line/
bottom of window/
end of file

  

  

End, Shift + End

 

 

 

 

 

 

Top of window

Ctrl + Page Up

 

Ctrl + Home

Ctrl + Page Up

Bottom of window

Ctrl + Page Down

 

Ctrl + End

Ctrl + Page Down

 

 

 

 

 

Up one screen

Page Up

Alt + v, Page Up

Page Up

Page Up

Down one screen

Page Down

Ctrl + v, Page Down

Page Down

Page Down

 

 

 

 

 

Top of file

Ctrl + Home

Home, Alt + <

Ctrl + Page Up

Ctrl + Home

Bottom of file

Ctrl + End

End, Alt + > 

Ctrl + Page Down

Ctrl + End

 

 

 

 

 

Next tab stop

Tab

Tab

Tab

Tab

Previous tab stop

Shift + Tab

Shift + Tab

Shift + Tab

Shift + Tab

 

 

 

 

 

Scroll window up one line

Ctrl + Up arrow

 

Ctrl + u, Ctrl + e, Ctrl + Up, Ctrl + Solaris Up arrow

Ctrl + Up Arrow, Ctrl + Solaris Up arrow

Scroll window down one line

Ctrl + Down arrow

 

Ctrl + d, Ctrl + Down, Ctrl + Solaris Down arrow

Ctrl + Down Arrow, Ctrl + Solaris Down arrow

Recenter

 

Ctrl + l

Ctrl + c

 

 

 

 

 

 

Go to line

Ctrl + g

Ctrl + x g

Alt + g

Ctrl + g

Find matching brace, bracket or parenthesis

Alt + [ , Alt + ] , Ctrl + [ , Ctrl + ]

Ctrl + Alt + b,
Ctrl + Alt + f

Ctrl + ]

Ctrl + ]

 

 

 

 

 

Set numbered bookmark

Ctrl + Shift + <#>

 

Alt + j

 

Toggle unnumbered bookmark

 

 

 

Ctrl + F2

Jump to numbered bookmark

Ctrl + <#>

 

Alt + <#>, Ctrl + <#>

 

Go to next bookmark

 

 

 

F2

Go to previous bookmark

 

 

 

Shift F2

Clear all bookmarks in current file

 

 

 

Ctrl + Shift + F2

 

 

 

 

 

Back to indentation

 

Alt + m

 

 

 

 

 

 

 

Selection

Some keys are not available on all platforms.

Command

Default / CUA

Emacs

Brief

Visual Studio®

Select left one character

Shift + Left arrow

 

 

Shift + Left arrow, Shift + Solaris Left arrow

Select right one character

Shift + Right arrow

 

 

Shift + Right arrow, Shift + Solaris Right arrow

 

 

 

 

 

Select current word

Ctrl + w

 

 

 

Select to start of current word

Ctrl + Shift + Left arrow

 

 

Ctrl + Shift + Left arrow, Ctrl + Shift + Solaris Left arrow

Select to end of current word

Ctrl + Shift + Right arrow

 

 

Ctrl + Shift + Right arrow, Ctrl + Shift + Solaris Right arrow

 

 

 

 

 

Select current line

Ctrl + l

 

Ctrl + l

 

 

 

 

 

 

Select to start of line

Shift + Home

 

 

Shift + Home

Select to end of line

Shift + End

 

 

Shift + End

Select up one line

Shift + Up arrow

 

 

Shift + Up arrow

Select down one line

Shift + Down arrow

 

 

Shift + Down arrow

 

 

 

 

 

Select to top of window

Ctrl + Shift + Page Up

 

 

Ctrl + Shift + Page Up

Select to bottom of window

Ctrl + Shift + Page Down

 

 

Ctrl + Shift + Page Down

 

 

 

 

 

Select up one screen

Shift + Page Up

 

 

Shift + Page Up

Select down one screen

Shift + Page Down

 

 

Shift + Page Down

 

 

 

 

 

Select to top of file

Ctrl + Shift + Home

 

 

Ctrl + Shift + Home

Select to bottom of file

Shift + Ctrl + End

 

 

Ctrl + Shift + End

Select all (mark-whole-buffer)

Ctrl + a

Ctrl + x h

 

Ctrl + a

 

 

 

 

 

Set mark

 

Ctrl + Space, Ctrl + @

Alt + a

F8

Set mark, select character

 

 

Alt + m

Ctrl + Shift + F8

Set mark, select line

 

 

 

Ctrl + F8

Select code between matching braces

Ctrl + Shift + ] , Ctrl + Shift + [ , Alt + Shift + ] , Alt + Shift + [

Ctrl + Shift + ]

Ctrl + Shift + ]

Ctrl + Shift + ]

Exchange point and mark

 

Ctrl + x Ctrl + x

 

 

 

 

 

 

 

Turn off special states

 

 

 

Esc

 

 

 

 

 

Editing Text

Some keys are not available on all platforms.

Command

Default / CUA

Emacs

Brief

Visual Studio®

Toggle Insert / Overstrike mode

Insert

Insert

Alt + i

Insert

 

 

 

 

 

Delete character/selection

Delete

Ctrl + d, Delete

Delete

Delete

Delete previous character/selection

Backspace, Shift + Backspace

Backspace, Shift + Backspace

Backspace

Backspace, Shift + Backspace

 

 

 

 

 

Delete line

Ctrl + y

 

Alt + d

Ctrl + Shift + l

Delete to end of line (kill-line)

Ctrl + Shift + y

Ctrl + k

Alt + k

Alt + Shift + l

 

 

 

 

 

Delete to end of word (kill-word)

Ctrl + t

Alt + d

Alt + Backspace

Ctrl + Delete

Delete to start of word (backward-kill-word)

Ctrl + Backspace

Ctrl + Delete, Alt + Backspace, Alt + Delete

Ctrl + Backspace

Ctrl + Backspace

 

 

 

 

 

Indent block

Ctrl + Shift + i, Tab

Ctrl + x Tab

 

 

Unindent block

Ctrl + Shift + u, Shift + Tab

 

 

 

 

 

 

 

 

Insert return

Enter, Shift + Enter

Enter,
Shift + Enter,
Ctrl + m

Enter, Ctrl + Shift + Enter (differs from original Brief)

Enter, Shift + Enter

Open line

Ctrl + Shift + o

Ctrl + o

 

 

Comment / uncomment lines

Ctrl + / (to uncomment, // must be in first column)

 

 

Ctrl + /

Delete horizontal space

 

Alt + \

 

 

Delete blank lines

 

Ctrl + x Ctrl + o

 

 

 

 

 

 

 

Lowercase word

 

Alt + l

 

 

Uppercase word

 

Alt + u

 

 

Capitalize word

 

Alt + c

 

 

Lowercase selection

 

Ctrl + x Ctrl + l (if no selection, lowercases to cursor

 

Ctrl + u

Uppercase selection

 

Ctrl + x Ctrl + u (if no selection, uppercases to cursor

 

Ctrl + Shift + u

 

 

 

 

 

Transpose characters

 

Ctrl + t

 

 

Transpose words

 

Alt + t

 

 

Transpose lines

 

Ctrl + x Ctrl + t

 

Alt + Shift + t

 

 

 

 

 

Undo

Ctrl + z, Alt + Backspace, Undo

Ctrl + /, Ctrl + Underscore, Ctrl + x u, Undo, F9

Alt + u, Numeric + *, Undo

Ctrl + z, Solaris Undo

Redo

Ctrl + Shift + z, Alt + Shift + Backspace, Again

Again, Shift + F9

Alt + y, Again

Ctrl + y, Solaris Redo

 

 

 

 

 

Clipboard

Some keys are not available on all platforms.

Command

Default / CUA

Emacs

Brief

Visual Studio®

Cut selection

Ctrl + x, Shift + Delete, Cut

 

Shift + Delete

Ctrl + x, Shift + Delete, Solaris Cut

Cut selection/current line

 

 

Numeric + - (minus sign), Solaris Cut

Ctrl + l

Copy selection

Ctrl + c, Ctrl + Insert, Copy

 

Ctrl + Insert

Ctrl + c, Ctrl + Insert, Solaris Copy

Copy selection/current line

 

 

Numeric + + (plus sign), Solaris Copy

 

Paste from clipboard

Ctrl + v, Shift + Insert, Paste

 

Insert, Ctrl + y, Shift + Insert, Solaris Paste

Ctrl + v, Shift + Insert, Solaris Paste

 

 

 

 

 

Kill-region

 

Ctrl + w

 

 

Kill-ring-save

 

Alt + w

 

 

Yank

 

Ctrl + y

 

 

Yank-pop

 

Alt + y

 

 

 

 

 

 

 

Search and Replace

Some keys are not available on all platforms.

Command

Default / CUA

Emacs

Brief

Visual Studio®

Find text

Ctrl + f

Find

F5, Alt + s, Solaris Find

 

Find again

F3

 

Shift + F5

 

Find again, backwards

 

 

 

Shift + F3

Search and replace

Ctrl + r

Alt + %

F6, Alt + t

Ctrl + r

Search in path

Ctrl + p

 

Ctrl + p

Ctrl + d

 

 

 

 

 

Incremental search forward

Ctrl + e

Ctrl + s

Ctrl + s

Ctrl + i

Incremental search backward

 

Ctrl + r

Ctrl + r

Ctrl + Shift + i

Search for selected text

 

 

 

Ctrl + F3

Search backward for selected text

 

 

 

Ctrl + Shift + F3

 

 

 

 

 

Turn off special states

 

 

 

Esc

 

 

 

 

 

Buffers and Files

Command

Default / CUA

Emacs

Brief

Visual Studio®

File | New

Ctrl + n

 

 

Ctrl + n

File | Open

Ctrl + o

Ctrl + x Ctrl + f

Alt + e

Ctrl + o

File | Save

Ctrl + s

Ctrl + x Ctrl + s

Alt + w

Ctrl + s

File | Save As

 

Ctrl + x Ctrl + w

Alt + o

 

File | Save All

Ctrl + Shift + a

 

 

 

File|Print

 

 

 

Ctrl + p

File | Close

Ctrl + F4

Ctrl + x  k

Ctrl + -

 

Save files and exit

 

 

Ctrl + x

 

 

 

 

 

 

delete-window

 

Ctrl + x  0

 

 

delete-other-windows

 

Ctrl + x  1

 

 

split-window-vertically

 

Ctrl + x  2

 

 

split-window-horizontally

 

Ctrl + x  3

 

 

other-window

 

Ctrl + x  o

 

 

 

 

 

 

 

Previous open node

Ctrl + Shift + F6

F11

 

Shift + F6

Next open node

Ctrl + F6

F12

 

F6

 

 

 

 

 

Back

Ctrl + Alt + Left

 

 

 

Forward

Ctrl + Alt + Right

 

 

 

 

 

 

 

 

Compile and Debug 

Command

Default / CUA

Emacs

Brief

Visual Studio®

Make project

Ctrl + F9

Ctrl + x  m

Ctrl + F9

F7

Make file

Ctrl + Shift + F9

 

Ctrl + Shift + F9

Ctrl + F7

 

 

 

 

 

Run (Resume)

F9

 

F9

Ctrl + F5

Debug

Shift + F9

 

Shift + F9

F5

 

 

 

 

 

Step into

F7

F7

F7

F11

Step over

F8

F8

F8

F10

Step out

 

 

 

Shift + F11

Reset

Ctrl + F2

Ctrl + F2

 

Shift + F5

 

 

 

 

 

Toggle breakpoint

F5

F5

 

F9

Toggle enable breakpoint

 

 

 

Ctrl + F9

View breakpoints

 

 

 

Alt + F9

 

 

 

 

 

Run to cursor

F4

F4

F4

Ctrl + F10

 

 

 

 

 

CodeInsight

Command

All Editor Emulations

Browse symbol

Ctrl + -

Methods and members of current scope (MethodInsight)

Ctrl + h, Ctrl + Space

Method parameters (ParameterInsight)

Ctrl + Shift + h, Ctrl + Shift + Space

Class browser (ClassInsight)

Ctrl + Alt + h, Ctrl + Alt + Space

Drill down (SymbolInsight)

Ctrl + Enter, Alt + Shift + h

 

Note: CodeInsight is for .java and .jsp files only. To customize these shortcuts, select Tools|Editor options, choose the CodeInsight tab, and click the Keystrokes button.

Code Templates

Command

All Editor Emulations

Code Templates

Ctrl + j

View and Help

 

Command

Default / CUA

Emacs

Brief

Visual Studio®

View project properties

 

 

 

Alt + F7

 

 

 

 

 

Next message

Ctrl + Shift + n

Ctrl + x Ctrl + n

Ctrl + Shift + n

F4

Previous message

Ctrl + Shift + p

Ctrl + x Ctrl + p

Ctrl + Shift + p

Shift + F4

 

 

 

 

 

Toggle curtain

Ctrl + Alt + z

 

Ctrl + Alt + z

Ctrl + Alt + z

Toggle project pane

Ctrl + Alt + p

 

Ctrl + Alt + p

Ctrl + Alt + p

Toggle structure pane

Ctrl + Alt + s

 

Ctrl + Alt + s

Ctrl + Alt + s

Toggle content pane

Ctrl + Alt + c

 

Ctrl + Alt + c

Ctrl + Alt + c

Toggle message pane

Ctrl + Alt + m

 

Ctrl + Alt + m

Ctrl + Alt + m

 

 

 

 

 

Help

F1, Help

 

F1, Solaris Help

F1, Solaris Help

 

 

 

 

 

Split window horizontally

 

 

Ctrl + t

 

Split window vertically

 

 

Ctrl + Shift + t

 

Zoom window (close other splits)

 

 

Ctrl + z

 

Close split window

 

 

Ctrl + Shift + z

 

Next split window

 

 

Ctrl + w

 

 

 

 

 

 

KDE keystrokes

KDE uses keystrokes that conflict with some of the keystrokes available in the above editor emulations. Please note that the following keystrokes will activate KDE functions, not JBuilder functions, regardless of the JBuilder editor emulation you use:

 Ctrl + c *Ctrl + F1  Ctrl + Insert
 Ctrl + f  Ctrl + F2  Ctrl + End
 Ctrl + n  Ctrl + F3  Ctrl + Home
 Ctrl + o  Ctrl + F4 *Ctrl + Escape
 Ctrl + p  Ctrl + F5 *Ctrl + Alt + Escape
*Ctrl + q  Ctrl + F6 *Alt + F1
 Ctrl + r  Ctrl + F7 *Alt + F2
 Ctrl + s  Ctrl + F8 *Alt + F3
 Ctrl + v   *Alt + F4
 Ctrl + w    
 Ctrl + x    
 Ctrl + z    

* These keystrokes are not default keystrokes used in any of the JBuilder editor emulations.

You can change any keystroke by selecting Tools|IDE Options and choosing Browser, or by selecting Tools|Editor Options and choosing Editor. Both of these pages have a Keymap chooser and a Customize button. Click Customize to alter any keybinding in any keymap.