Rename dialogs
The Rename dialogs let you perform the rename refactoring for types, methods, packages, files and other entities. You can select where the changes to occurrences of the entity name are required and where not.
- Rename Dialog for a Type or an Interface
- Rename dialog for a directory
- Rename dialog for a file
- Rename dialog for a method
- Rename dialog for a package
- Rename dialog for a parameter
- Rename dialog for a table or column
- Rename dialog for a variable
Item | Description |
---|---|
Rename <symbol name> and its usages to | In this field, specify a new name for the symbol. |
Search in JavaScript files | Select this checkbox to rename the usages of the function or the class in compiled JavaScript code. |
Search for dynamic references | Select this checkbox to rename the dynamic usages of the symbol, for example, those of the type
interface myInt {
target: string
}
function onClick(e: any) {
console.log(e.target);
}
interface myInt {
myTarget: string
}
function onClick(e: any) {
console.log(e.myTarget);
}
|
Search in comments and strings | Select this checkbox to have the changes applied to comments and strings. |
Search for text occurrences | Select this checkbox to have the changes applied to the documentation, HTML, and other files included in the project. |