Is there a keyboard shortcut in Pycharm for rename a specific variable?
<p>I'm using <strong>Pycharm</strong> for Python coding, and I want to change the name of a <strong>specific variable</strong> all over the code. is there any keyboard shortcut for this operation?</p>

<p>In Matlab I can use <em>ctrl</em> + <em>shift</em>.</p>

<p>For example:</p>

<pre><code>old_name=5
x=old_name*123
</code></pre>

<p>will become:</p>

<pre><code>new_name=5
x=new_name*123
</code></pre>

<p>without the need to change both of the <code>old_name</code> references.</p>

<p>Thanks!</p>

<p>Highlight your <code>old_name</code> and hit <kbd>Shift</kbd>+<kbd>F6</kbd></p>

python python-2.7 keyboard pycharm keyboard-shortcuts