Rename dialog for a directory
Use this dialog to rename a directory.
In addition to renaming the directory itself, DataGrip can also search for usages of its name. If found, the changes that you make to the directory name can also be applied to these usages.
The usages are grouped into categories that correspond to options you can enable or disable.

Item | Description |
|---|---|
Rename <directory> and its usages to | Specify a new name for the directory. |
Search for references | If this option is enabled, DataGrip will search for occurrences of the directory in references within source code files. |
Search in comments and strings | If this option is enabled, DataGrip will look for occurrences of the directory in comments and string literals in your source code files. |
Scope | Use this option to set the scope for the Rename refactoring. For example, limit it to recently changed files, open files, or a custom scope that can be shared or local. |
Preview | Previews the changes before they are applied. |
Refactor | Executes the statement and applies the changes immediately. |