title: F2 rename variable doesn't work in vscode + jupyter notebook + python
body: <p>I can use the normal F2 rename variable functionality in regular python files in vscode. But not when editing python in a jupyter notebook.</p>
  <p>When I press F2 on a variable in a jupyter notebook in vscode I get the familiar change variable window but when I press enter the variable is not changed and I get this error message:</p>
  <blockquote>
  <p>No result. No result.</p>
  </blockquote>
  <p>Is there a way to get the F2 change variable functionality to work in jupyter notebooks?</p>
  <p>Here's my system info:</p>
  <p>jupyter module version</p>
  <pre><code>(adventofcode) C:\git\leetcode&gt;pip show jupyter
  Name: jupyter
  Version: 1.0.0
  Summary: Jupyter metapackage. Install all the Jupyter components in one go.
  Home-page: http://jupyter.org
  Author: Jupyter Development Team
  Author-email: jupyter@googlegroups.org
  License: BSD
  Location: c:\users\johan\anaconda3\envs\adventofcode\lib\site-packages
  Requires: ipykernel, qtconsole, nbconvert, jupyter-console, notebook, ipywidgets
  Required-by:
  </code></pre>
  <p>Python version:</p>
  <pre><code>(adventofcode) C:\git\leetcode&gt;python --version
  Python 3.10.0
  </code></pre>
  <p>vscode version:</p>
  <pre><code>1.63.2 (user setup)
  </code></pre>
  <p>vscode Jupyter extension version (from the changelog in the extensions window):</p>
  <pre><code>2021.11.100 (November Release on 8 December 2021)
  </code></pre>