JetBrains Rider 2019.1 Help

Directory-Based Settings

In the Rider settings dialog (Ctrl+Alt+S), you can look at page icons to see which setting-management mechanism is used for specific pages:

Rider: Code formatting settings

Pages that are not marked with any icon host IDE settings which are saved in your user profile.

Solution-level vs IDE-level settings

Preferences for Rider's front-end features, which are based on IntelliJ Platform, are saved in the directory-based format — in XML files in two specific places:

  • Your IDE settings — such as IDE layout, preferred keymap, editor settings — are saved in your user profile (%USERPROFILE%\.RiderXX\config on Windows, ~/.RiderXX/config on Linux, and ~/Library/Preferences/RiderXX on macOS).

  • Your solution-specific settings — for example, Version Control integration, code style preferences — are saved under .idea\.idea.[Solution_Name]\.idea (hidden on macOS) in the solution directory.

Solution-level settings

The solution level settings are applied to the current solution only. These settings are stored together with other solution files in the .idea directory.

If your solution is under a version control, it is recommended that you store XML files with solution-specific settings (the .idea folder inside the solution folder) under version control, the exception being workspace.xml and tasks.xml, which store user-specific settings.

You can refer to JetBrains.gitignore on GitHub to see what should be ignored.

Access the solution-level settings

  • Select File | Settings for Windows and Linux, or JetBrains Rider | Preferences for macOS.

    Alternatively, press Ctrl+Alt+S, or use the Settings icon on the toolbar.

IDE-level (global) settings

The IDE level (global) settings are applied to all newly created projects. The list of the IDE-level settings contains less options, but it enables you to change the editor settings, create custom scopes, configure inspections, set VCS-specific settings, and so on.

If you want to share the IDE settings between already existing solutions, you can use the export the settings to a ZIP archive and import it later to other IDE instances.

Access the IDE-level settings

  • From the main menu, select File | Settings for New Solutions for Windows and Linux, or File | Preferences for New Projects for macOS.

Restore the default settings

To restore the JetBrains Rider default settings, you can remove the configuration directory (idea.config.path) when the IDE is not running. The directory is located in:

<SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>
~/Library/Preferences/<PRODUCT><VERSION>

Note that the Library folder may be hidden in the Finder.

~/.<PRODUCT><VERSION>

For more information, refer to Directories used by the IDE to store settings, caches, plugins and logs.

Last modified: 11 June 2019