MPS 2021.2 Help

Rename dialogs

Refactor | Rename

Shift+F6

Item

Description

Rename Node / Model / Module and its usages to

In this field, specify a new name for the file. For modules, if the language has a sandbox or a runtime solution located in a subdirectory of the language module, the corresponding solution will also be renamed.

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 any.

interface myInt { target: string } function onClick(e: any) { console.log(e.target); }
interface myInt { myTarget: string } function onClick(e: any) { console.log(e.myTarget); }
Last modified: 26 August 2021