Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Changing default quality profile

Sonar way core is the default quality profile for every language. Change the default with a general profile for several languages, or per language.

The default quality profile of a language is used for every project that is not explicitly associated with another profile for that language. By default, the built-in Sonar way core profile is the default for every language.

With the Administer Quality Profiles permission, you can change the default in two ways:

  • Set a general profile as the default for all languages, or for a selection of languages, in one step.

  • Set a language-specific profile as the default for one language.

For a given language, the most recent change applies. For example, if you set a general profile as the default for all languages, and then set another profile as the default for Java on the Language-specific tab, all languages except Java use the general profile. See General and language-specific quality profiles for more information.

Setting a general profile as the default

  1. Go to Your organization > Policies > Quality profiles. See Retrieving your organizations to access your organization.

  2. On the General tab, select All.

  3. In the action menu of the profile, select Set as default.

The General tab with All selected and the action menu of the Sonar way core card open, showing Set as default and Assign projects
  1. When the dialog opens, choose one of these options:

    • Set for all languages: the profile becomes the default for every language.

    • Customize languages: select the checkbox of each language the profile should be the default for.

  2. Select Confirm.

The profile replaces the current default for the selected languages. Its card shows the Default for N/M languages tag, and the profile is listed in the In use tab.

Setting a language-specific profile as the default

  1. Go to Your organization > Policies > Quality profiles. See Retrieving your organizations to access your organization.

  2. On the Language-specific tab, locate the language whose default profile you want to change.

  3. In the action menu of the profile, select Set as default.

The Language-specific tab listing ABAP profiles, with the action menu of Sonar way core open and Set as default selected

Last updated

Was this helpful?