6.2.2.16   Preferences

Synopsis:
Set global preferences of HDevelop.
Shortcut:
Ctrl+Shift+O,S or Ctrl+Shift+O,Ctrl+Shift+S

HDevelop maintains a set of preferences that are persistent between sessions. You can customize the appearance of HDevelop's user interface (syntax highlighting, fonts, and language) as well as its behavior, configure the settings of procedures, and change the default visualization settings of the graphics windows.

The following settings are provided:

User Interface:

Procedures:

General Options:

Visualization Settings:

Runtime Settings:

Telemetry

Changes to the settings in this dialog are saved automatically without any user intervention. The location of the generated file depends on the operating system:

Windows:
%APPDATA%\MVTec\HDevelop.ini
Linux:
$HOME/.hdevelop/MVTec/HDevelop.ini
macOS:
$HOME/Library/Preferences/com.mvtec.HDevelop.plist

HDevelop can read additional preferences from another startup file specified with the command line switch -add_preferences <file>. To load the preferences only from another startup file, start HDevelop with the command line switch -load_preferences <file>. In both cases the settings will be stored back to HDevelop.ini when HDevelop is quit. To use a different startup file altogether, start HDevelop with the command line switch -use_preferences <file>.

The preferences dialog provides its own menu with the following entries:

Import

Using this menu entry you can import a selection of preferences which were previously saved using the menu entry Export (see below). The dialog is displayed in figure 6.14.

Figure 6.14: Import....

In the import dialog you can select a file with saved HDevelop preferences (default file extension: .hdp). The check boxes allow you to import groups of settings selectively. They correspond to the categories of the dialog. The runtime settings are not persistent and can neither be exported nor imported.

Export

The export dialog is identical to the import dialog. Using the check boxes you can specify which settings will be saved to the selected file.

Reset

Selecting this menu entry resets all preferences (except the window geometry and layout) to the default settings. If you want to reset the window geometry as well you can start HDevelop with the following command line switch:

  hdevelop -reset_preferences

The preferences dialog contains a list of categories on the left and several related tab cards on the right. The size of these elements is controlled by a splitter. The available categories of preferences are described in the following sections.