# Shortcuts

## Useful shortcuts for modeling and generation

- Content assist / show available code templates:

  - <CTRL>-<SPACE>

- Automatic formatting (formats the selected text or the whole document when nothing is selected):

  - <CTRL>-<SHIFT>-F

- Save file

  - <CTRL>-S

- Hyper-linking from an element (variable, method, type, etc.) to its declaration:

  - <F3> while the cursor position is at the element

  - <CTRL>-click on the element

- Execute the workflow project when the editor is open:

  - <CTRL>-<B>

## Basic Eclipse shortcuts

- Split view:

  - Open two tabs, click on one tab and drag it to the text area; then a vertical or horizontal screen outline will become visible; release the mouse for the desired lay-out.

  - <CTRL>-_ splits a text editor for a single file horizontally

  - <CTRL>-{ splits a text editor for a single file vertically

- Switch between tabs:

  - <CTRL>-<Page Up>

  - <CTRL>-<Page Down>

- Maximize current editor (tab):

  - <CTRL>-<M>

  - Double click on tab

- Jump to position of last edit

  - <CTRL>-<Q>

- Increase/Decrease font size of the textual editors

  - <CTRL>-<⇒ increases the font size

  - <CTRL>-<→ decreases the font size

  - (Alternatively, via menus: Window → Preferences → General → Appearance → Colors and Fonts → Basic → Text Font → Edit…​)

- Switch between views:

  - <CTRL>-<F6> opens a list with editors

  - <CTRL>-<F7> opens a list with views

  - <CTRL>-<F8> opens a list with perspectives

- Outline view:

  - Window → Show view → Outline

  - <CTRL>-O opens a quick outline that is searchable (including wildcards)

- Find references:

  - <CTRL>-<SHIFT>-G on the element (variable, method, type, etc.)