joh*_*rex 10 python jupyter visual-studio-code jupyter-notebook
我可以在 vscode 中的常规 python 文件中使用常规的 F2 重命名变量功能。但在 jupyter 笔记本中编辑 python 时则不然。
当我在 vscode 中的 jupyter 笔记本中的变量上按 F2 时,我会看到熟悉的更改变量窗口,但是当我按 Enter 时,变量没有更改,并且收到以下错误消息:
没有结果。没有结果。
有没有办法让 F2 更改变量功能在 jupyter 笔记本中工作?
这是我的系统信息:
jupyter模块版本
(adventofcode) C:\git\leetcode>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:
Run Code Online (Sandbox Code Playgroud)
Python版本:
(adventofcode) C:\git\leetcode>python --version
Python 3.10.0
Run Code Online (Sandbox Code Playgroud)
vscode版本:
1.63.2 (user setup)
Run Code Online (Sandbox Code Playgroud)
vscode Jupyter 扩展版本(来自扩展窗口中的更改日志):
2021.11.100 (November Release on 8 December 2021)
Run Code Online (Sandbox Code Playgroud)
请注意,您在 GitHub 中发布了错误报告并看到了这个问题:Renaming Variables did not work,程序员回复道:
笔记本电脑目前不支持某些语言功能,但我们现在正在制定计划,希望尽快将更多语言功能上线。
所以请大家等待这个功能。
| 归档时间: |
|
| 查看次数: |
4083 次 |
| 最近记录: |