Keyboard shortcuts¶
There's a lot of predefined default keyboard shortcuts, but there's also a lot of possible shortcuts that are not currently assigned.
Note that you can re-assign keyboard shortcuts as you want. I encourage you to look at the possibilities as maybe half of the possible keyboard shortcuts are currently assigned.
We have tried to keep a lot of shortcuts the same or similar to what you are used to in the DataFlex Studio.
You can find the currently assigned keyboard shortcuts via the menu. File -> Hammer options -> Editor Tab -> Keyboard
Here's a list of some of the more commonly used keyboard shortcuts
navigational¶
| Shortcut | Description | 
| Left Arrow | Moves the cursor one character to the left | 
| Up Arrow | Moves the cursor up one line | 
| Down Arrow | Moves the cursor down one line | 
| Right Arrow | Moves the cursor one character to the right | 
| Home | Moves to the start of the current line or the start of the text on that line | 
| End | Moves to the end of the current line | 
| Tab | Indents to the selected text right one stop | 
| Page Down | Moves the text one page down | 
| Page Up | Moves the text one page up | 
| Ctrl+Left | Moves backward to the start of the previous word | 
| Ctrl+Right | Moves forward to the start of the next word | 
| Ctrl+Home | Moves to the start of the document | 
| Ctrl+End | Moves to the end of the document | 
| Ctrl+G | Goto Line | 
| Ctrl+Alt+Left | Moves to the beginning of the previous sentence | 
| Ctrl+Alt+Right | Moves the the beginning of the next sentence | 
| Ctrl+] | to jump between code block "begin" and "end", "while" and "loop", "procedure" and "end_procedure" etcetera | 
| Ctrl+F7 | Synchronize the code explorer to the line of code where your cursor is positioned | 
| Ctrl+Tab | Activates the next view | 
| Ctrl+Shift+Tab | Activates the previous view | 
| Ctrl+Page Up | Scrolls the window to the left | 
| Ctrl+Page Down | Scrolls the window to the right | 
Selection¶
| Shortcut | Description | 
| Shift+Left | Extends the selection one character to the left | 
| Shift+Right | Extends the selection one character to the right | 
| Shift+Down Arrow | Extends the selection down next line | 
| Shift+Up Arrow | Extends the selection up one line | 
| Shift+Home | Extends the selection to either the start of the current line or the start of the text on that line | 
| Shift+End | Extends the selection to the end of the current line | 
| Ctrl+Shift+Left | Extends the selection backward to the start of the previous word | 
| Ctrl+Shift+Right | Extends the selection forward to the start of the next word | 
| Ctrl+Shift+Home | Extends the selection to the begin of the file | 
| Ctrl+Shift+End | Extends the selection to the end of the file | 
| Shift+Page Down | Extends the selection down one page | 
| Shift+Page Up | Extends the selection up one page | 
| Ctrl+A | Select all text in the current document | 
| Delete | Delete the selection | 
| Backspace, Shift+Backspace | Deletes the selection, or if there's no selection, the character to the left of the cursor | 
| Ctrl+Alt+F8 | Selects lines of text | 
| Ctrl+Shift+X | Swaps the anchor and the cursor in a selection | 
| Ctrl+L | Make the selection lowercase | 
| Ctrl+U | Make the selection Uppercase | 
| Ctrl+Alt+K | Deletes the remainder of a sentence | 
| Ctrl+Backspace | Deletes a word to the left | 
| Ctrl+Delete | Deletes a word to the right | 
| Ctrl+Shift+T | Tabify the selection, replaces spaces with tabs in the selection | 
| Ctrl+Shift+space | Untabify the selection, replaces the tabs with spaces in the selection | 
| Shift+Tab | Indents the selected text left one stop | 
clipboard¶
| Shortcut | Description | 
| Ctrl+C | Copy selected text | 
| Ctrl+X | Cut selected text | 
| Ctrl+Y | Deletes the selected line and places the text on the clipboard | 
| Ctrl+V | Inserts the clipboard contents at the insertion point | 
| Ctrl+Z | Undo the last action | 
bookmarks¶
| Shortcut | Description | 
| Ctrl+Enter | Toggle a bookmark, create or remove a bookmark on the selected line | 
| Ctrl+Up Arrow | Previous bookmark | 
| Ctrl+Down Arrow | Next bookmark | 
Find / Replace¶
| Shortcut | Description | 
| Ctrl+F | Find in Document | 
| F3 | Find Next | 
| Shift+F3 | Find Previous | 
| Control+F3 | Find the next occurrence of the selected word | 
| Control+Shift+F3 | Find the previous occurrence of the selected word | 
| Ctrl+Alt+F3 | Find & Replace in Document | 
| Ctrl+Shift+F | Find in all files in the workspace | 
Compile / Run¶
| Shortcut | Description | 
| F5 | Build Execute | 
| F7 | Build debug run | 
Save / Load¶
| Shortcut | Description | 
| F2 | Save Current File | 
| Ctrl+F2 | Save Current File As | 
| Ctrl+S | Save all opened files | 
| Ctrl+N | New File | 
| Ctrl+O | Open File, select a file | 
Various¶
| Shortcut | Description | 
| Ctrl+Shift+Down | Activate the code list control | 
| Ctrl+Space | Activates the code tip control | 
| Ctrl+F4 | Closes the file | 
| Ctrl+Alt+H | Insert a revision mark | 
| Ctrl+Shift+N | Opens a new line above the cursor | 
| Alt+Left Arrow | Activates the creator List | 
| Alt+/ | Activates the list with IDE Tags | 
| Alt+Down Arrow | Activates the object list | 
| Alt+Right Arrow | Activates the local variables list | 
| Alt+Enter | Displays the properties dialog | 
| Ctrl+Shift+S | Refactor option to clean Self references that are not needed in recent DataFlex code | 
| Ctrl+W | Select Workspace | 
| Ctrl+R | Sets the repeat count for the next command * does this work? * | 
| Alt+A | Toggle the current line comment | 
| Insert | Toggles between inserting and replacing text | 
| Ctrl+Alt+T | Shows or hides whitespace indicators | 
| Ctrl+H | Inserts a header into the current file | 
| Alt+F1 | Activates the codeview window |