Profile Preferences

Opens the Profile preference pageMStyle > Profile preference page allows you to configure the list of active rules used on MStyle checks. All available options are listed below:

General profile configuration
Option Description Default>
Default profile severity

Rule severity used when a particular rule severity is set to Inherited.

Warning
Enable violation suppression

Option for enabling violation filters in files using #MSTYLE_OFF and #MSTYLE_ON tags.

Disabled

Profile page buttons
Option Description
Add...

Opens Add Rules dialog which allows to add new rules to the profile.

Remove

Removes selected rules from the list.

Edit

Opens Edit Rule Properties dialog which allows to edit rule properties. Button is disabled if a rule does not contain any properties.

Import...

Imports profile from external file. Old profile can be updated or replaced by the new set.

Export...

Exports selected rules to an external file.

Export All...

Exports all rules from the profile to an external file.

Enable All

Enables all rules in the profile.

Disable All

Disables all rules in the profile.

Profile preference page

Related concepts

Rules and Violations
Profile

Related tasks

Suppressing violations

Related reference

Add Rules dialog
Edit Rule Properties dialog