开始重命名任何代码元素或更改方法签名时,PyCharm 会在间距中显示 In-place refactoring icon 图标。点击间距图标并应用任何更改建议。

In-place renaming