PyCharm 2017.3 Help

Rename dialog for a table or column

Refactor | Rename
Shift+F6


Use this dialog to rename a table or column.

In addition to renaming the table or column itself, PyCharm can also look for the usages of the table or column name. If found, the changes you are making to the table or column name can also be applied to these usages.

ItemDescription
Rename <table or column> and its usages toSpecify a new name for the table or column.
Search in comments and stringsIf this checkbox is selected, PyCharm will look for occurrences of the table or column name within comments and string literals in your source code files.
SQL ScriptThe statement to be run to rename the table or column. If necessary, you can edit the statement right in this pane.
RefactorExecute the statement and make associated changes right away.
PreviewPreview potential associated changes prior to executing the statement. See Previewing changes.
Rename inheritorsSelect this checkbox to have the changes applied to the entire hierarchy. This option is available when renaming method parameters, or Python classes.
Rename containing fileSelect this checkbox to have the changes applied to the containing file. This option is only available when the class name coincides with the name of the containing file.
Last modified: 28 March 2018

See Also