Regarding changing a signature, say, 'salutation' already exists, so I don't want to add a value, is it possible to enter 'salutation=salutation' at 2:51? Or isn't that recommended? If so, is there another way to add existing parameters to the signature?
@Sergei9838 Жыл бұрын
Refactoring all the instances in the project is great! But what's if I want just to change all the instances in a piece of code? For instance, I want to repeat a piece of code and replace all var_a to var_b in it? Just now I am just copying the fragment to a text editor, replace the instances there and copy back to PyCharm. But it would be nice not to leave PyCharm for that. I envisage a problem with selection, because as soon as I click on an expression inside a selected fragment, it de-select the fragment. But if would be nice to have an option to replace the instances down in the code only.
@anatoly12 жыл бұрын
Woah , change signature is cool
@drooten2 жыл бұрын
I had not realised there was an in place signature change, I’ve been using windows shift + F6 to do this.