Editor shortcut key summary
There are three types of shortcut keys that you can use in the editor:
Predefined shortcut keys, which you can edit using the IDE Options dialog box
Shortcut keys provided by the Scintilla editor
Custom shortcut keys that you can add using the IDE Options dialog box.
The following tables summarize the editor’s predefined shortcut keys.
Moving the insertion point
To move the insertion point | Press |
|---|---|
One character to the left | Left arrow |
One character to the right | Right arrow |
One word to the left | Ctrl + Left arrow |
One word to the right | Ctrl + Right arrow |
One word part to the left—when using mixed cases, for example mixedCaseName | Ctrl + Alt + Left arrow |
One word part to the right—when using mixed cases, for example mixedCaseName | Ctrl + Alt + Right arrow |
One line up | Up arrow |
One line down | Down arrow |
To the previous paragraph | Ctrl + Alt + Up arrow |
To the next paragraph | Ctrl + Alt + Down arrow |
To the start of the line | Home |
To the end of the line | End |
To the beginning of the file | Ctrl + Home |
To the end of the file | Ctrl + End |
Selecting text
To select text, press Shift and the corresponding command for moving the insertion point. In addition, this command is available:
To select | Press |
|---|---|
A column-based block | Shift + Alt + Arrow key |
Scrolling text
To scroll | Press |
|---|---|
Up one line. When used in the parameter hints text box, this shortcut steps up one line through the alternatives. | Ctrl + Up arrow |
Down one line, When used in the parameter hints text box, this shortcut steps down one line through the alternatives. | Ctrl + Down arrow |
Up one page | Page Up |
Down one page | Page Down |
Miscellaneous shortcut keys
Description | Press |
|---|---|
When used in the parameter hints text box, this shortcut inserts parameters as text in the source code. | Ctrl + Enter |
Bracket matching—Expand selection to next level of matching of {}, [], or (). | Ctrl + B |
Bracket matching—Expand selection to next level of matching of {}, [], (), or <>. | Ctrl + Alt + B |
Bracket matching—Shrink selection to next level of matching of {}, [], or (). | Ctrl + Shift + B |
Bracket matching—Shrink selection to next level of matching of {}, [], (), or <>. | Ctrl + Alt + Shift + B |
Change case for selected text to lower | Ctrl + u |
Change case for selected text to upper | Ctrl + U |
Complete code | Ctrl + Space |
Complete word | Ctrl + Alt + Space |
Insert template | Ctrl + Alt + V |
Parameter hint | Ctrl + Shift + Space |
Zooming | Mouse wheel |
Zoom in | Ctrl + numeric keypad '+' |
Zoom out | Ctrl + numeric keypad '-' |
Zoom normal | Ctrl + numeric keypad '/' |
Additional Scintilla shortcut keys
Description | Press |
|---|---|
Scroll window line up or down | Ctrl + Up Ctrl + Down |
Select a rectangular block and change its size a line up or down, or a column left or right | Shift + Alt + arrow key |
Move insertion point one paragraph up or down | Ctrl + Alt + Up Ctrl + Alt + Down |
Grow selection one paragraph up or down | Ctrl + Shift + Alt + Up Ctrl + Shift + Alt + Down |
Move insertion point one word left or right | Ctrl + Left Ctrl + Right |
Grow selection one word left or right | Ctrl + Shift + Left Ctrl + Shift + Right |
Grow selection to next start or end of a word | Ctrl + Shift + Alt + Left Ctrl + Shift + Alt + Right |
Move to first non-blank character of the line | Home |
Move to start of line | Alt + Home |
Select to start of the line | Shift + Alt + Home |
Select a rectangular block to the start or end of page | Shift + Alt + Page Up Shift + Alt + Page Down |
Delete to start of next word | Ctrl + Delete |
Delete to start of previous word | Ctrl + Backspace |
Delete forward to end of line | Ctrl + Shift + Delete |
Delete backward to start of line | Ctrl + Shift + Backspace |
Zoom in | Ctrl + Add (numeric +) |
Zoom out | Ctrl + Subtract (numeric –) |
Restore zoom to 100% | Ctrl + Divide (numeric /) |
Cut current line | Ctrl + L |
Copy current line | Ctrl + Shift + T |
Delete current line | Ctrl + Shift + L |
Change selection to lower case | Ctrl + U |
Change selection to upper case | Ctrl + Shift + U |