4.1. General settings

This configuration section reunites all general purpose options that doesn't fits any other sections. In this widget the user is capable to change the behavior of some modeling features, some global options, the printing and source code settings.

4.1.1. General & Design


Option/Action Description
User interface language Overrides the default user interface language defined by the system. Requires restarting the program.
Configurations directory This read-only field stores the path the to settings folder for the current user.
Source code editor Defines the full path to a program to be used as an external source code editor.
Source code editor args Defines the arguments passed to the source code editor application.
SQL history max. length Defines the maximum length (in lines) of the command history in SQL execution pane at Manage view. Once the limit is reached a portion of the older history is automatically cleared.
Clear history This action clears the entire command history.
Check updates at startup Controls whether pgModeler should check for updates on startup or not.
Save/restore dialogs sizes When checked this option causes pgModeler to save the last size and position of almost all dialogs over the application, restoring them everytime they are activated. The state of the dialogs are persisted, which means, that their positions and sizes are restored even if the application is closed and open again.
Reset sizes This action reset all dialogs to their default sizes and positions.


Option/Action Description
Operation history Defines the maximum amount of elements held in the operation history. Once reached the maximum number the history is automatically cleaned.
Canvas grid size Defines the vertical and horizontal grid size. This value affects the spacing of objects when using the feature that aligns the objects on the grid.
Minimum object opacity (%) Defines the minimum opacity percentage applied to the objects when using the fade out feature. A zero opacity causes the object to be completely hidden not being possible to interact with it in the canvas area.
Autosave interval (minutes) Defines the period when the opened models will be saved automatically.
Simplify creation of graphical objects Graphical objects (table, views and textboxes) will be created in a single step without the need to click on canvas.
Use placeholders when moving tables When enabled this option creates a placeholder object at the previous table's position when starting to move it. This will cause graphical updates on relationship lines to be performed only when the drag & drop action is done improving the performance. Disabling placeholders will cause those updates to be executed every time the table's position changes a single pixel (classical behavior).
Validate before save, export or diff Triggers a dialog asking the user to validate the model before a save, export or diff operation.
Move canvas by keep mouse on corners Start move the canvas when the cursor is on the canvas edges.
Save and restore last position and zoom After loading the model the last zoom and position on canvas will be restored.
Trigger range selection with a single click By default the range selection is triggered with Shift + left click. By checking this option the range selection will be activated only with a single click and move.
Disable render smoothness Disable the antialiasing for lines and texts improving performance when handling huge models.
Hide table extended attributes Hide the portion of table which represents triggers, indexes and rules.
Hide table tags Hide the object which represents the tag assigned to the table.
Hide relationship name Hide the object that represents the relationship name.
Use curved lines for relationships Replaces any straight line in relationship by curved ones in order to improve the model's visualization.
Enable SQL code completion Toggles the code completion in all fields that accepts the input of SQL commands.

4.1.2. Printing & Code


Option/Action Description
Print grid Enables pgModeler to print the canvas grid.
Print page numbers Enables pgModeler to print the page delimiter lines.
Paper Configures the paper dimensions for the printing. When this field is configured with Custom value the user need to configure the paper size using the Page Margins field. Changes on this field directly affects the drawing of the page delimiters on the canvas area.
Orientation Defines the page orientation. This option directly affects the drawing of page delimiters on the canvas area.
Unity Defines the unity of measure to be used when configuring the page margins.
Page Margins Defines the page margins or the distance of the objects from the page borders on the printing. This fields also holds the custom paper size when the field Paper is configured with Custom value.


Option/Action Description
Font Defines the default font family to be used in any field that is used to display source code.
Size Defines the default font size for source code fields.
Custom tab width Defines a custom tab width in source code fields.
Colors This group of color pickers is used to configure some attributes of the source code fields. The first color picker defines the color of line numbers, the second one determines the color of the background of the portion where line numbers are exposed. Finally, the last picker is used to set the color of the highlighted line (where the cursor is currently placed).
Display line numbers Toggles the line numbers in the source code fields.
Highlight lines at cursor's position Toggles the color change for currently selected lines.

Jan 3, 2020 at 12:33