# Create new constructor

> **TL;DR**
> UML Class diagram: `Context menu of a node element | New | Constructor`
>
>
>
> `Alt+Insert` (Windows), `⌘ N` (macOS), `⌃ N` (IntelliJ IDEA Classic (macOS)), `⌘ N` (macOS System Shortcuts), `Alt+Insert` (XWin), `Alt+Insert` (GNOME), `Alt+Insert` (KDE), `Alt+Insert` (Emacs), `Alt+Insert` (Sublime Text), `⌘ N` (Sublime Text (macOS)), `Alt+Insert` (NetBeans), `Alt+Insert` (Visual Studio), `⌘ ⌃ N` (Visual Studio (macOS)), `Alt+Insert` (Eclipse), `⌘ N` (Eclipse (macOS))

| Item | Description |
| --- | --- |
| Visibility | Select one of the options to change visibility scope of the constructor. |
| Name | Specify the parameter name. |
| Parameters |
| Type | Specify the parameter type.     Note that [code completion](auto-completing-code.html) works here. As you type, the suggestion list shrinks to show the matching options. Non-existent type is marked as a syntax error.     |
| Add/Remove | Use these buttons to add/remove parameters.  |
| Move Up/Down | Use these buttons to reorder parameters by moving them up or down in the parameter list. |
| Exceptions |
| Add/Remove | Use these buttons to add/remove exceptions. For each new exception, specify its type.     Note that [code completion](auto-completing-code.html) works here. As you type, the suggestion list shrinks to show the matching options. Non-existent type is marked as a syntax error.     |
| Move Up/Down | Use these buttons to reorder exceptions by moving them up or down in the list. |
| Signature Preview | This read-only area shows the draft constructor signature as you fill in the dialog fields.  |

## See also

### Procedures

[Add new members to a class](class-diagram.html#add_members)

### Reference

[Class diagram toolbar, context menu, and legend](class-diagram-toolbar-and-context-menu.html)

