DataGrip 2019.3 Help

Configuring Project and IDE Settings

Project settings refer to a set of preferences related to resources, file colors, version control options, code styles, and so on. Project settings are stored with each specific project as a set of xml files under the .idea folder.

You can configure project settings on the two possible levels:

  • The level of a template project. The settings defined for a template project, apply to any project you create.

  • The project level. Settings defined on this level apply to the current project only.

Project-level settings and structure

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

If your project is under a version control, it is recommended that you store XML files with project-specific settings (the .idea folder inside the project 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 project-level settings

Do one of the following:

  • Press Ctrl+Alt+S

  • From the main menu, select File | Settings for Windows and Linux, or DataGrip | Preferences for macOS

In the Settings/Preferences dialog, project-level settings are marked with the For current project icon For current project.

IDE-level (global) settings and structure

The IDE level (global) settings and structure 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.

Access the IDE-level settings

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

Restore the default IDE settings

To restore the DataGrip default settings, remove the configuration directory idea.config.path when the IDE is not running.

Syntax
%HOMEPATH%\.<product><version>\config
Example
C:\Users\JohnS\.DataGrip2019.3\config
Syntax
~/Library/Preferences/<product><version>
Example
~/Library/Preferences/DataGrip2019.3
Syntax
~/.<product><version>/config
Example
~/.DataGrip2019.3/config

For more information, see DataGrip configuration directory.

Monitor the IDE performance

In case of performance issues, you can use the Activity Monitor to see the percentage of time that the CPU is busy processing operations from various subsystems and plugins.

  • From the main menu, select Help | Activity Monitor. It lists all subsystems and plugins that are using the CPU at the moment, and arranges them by how much %CPU they are using.

    Activity Monitor
Last modified: 13 April 2020