python.dataScience是“未知配置设置",在VS Code中 [英] python.dataScience is "Unknown Configuration Setting" in VS Code
问题描述
我正在MacOS Catalina上运行VS Code(1.52版),扩展名为Jupyter Notebook(2020.12)和Python(2020.12).
I am running VS Code (Version 1.52) with extensions Jupyter Notebook (2020.12) and Python (2020.12) on MacOS Catalina.
上下文:
我在使VS的Jupyter笔记本中正常使用Intellisense时遇到问题.将这些配置参数添加到VS Code的全局设置中取得了一些成功:
I have problems getting Intellisense to work properly in my Jupyter Notebooks in VS Code. Some have had some success with adding these config parameters to the global settings of VS Code:
"python.dataScience.runStartupCommands": [
"%config IPCompleter.greedy=True",
"%config IPCompleter.use_jedi = False"
]
我继续添加了这些内容,但是随后必须意识到python.dataScience
下的所有设置都是Unknown Configuration Setting
.知道为什么会这样,我该如何工作吗?
I went ahead and added those as well but then had to realize that all settings under python.dataScience
are Unknown Configuration Setting
. Any idea why this is and how I could this get to work?
推荐答案
自2020年11月起,Jupyter扩展与VS Code的Python扩展分开了.设置键已从python.dataScience
重命名为jupyter
Since Nov 2020 the Jupyter extension is seperated from Python extension for VS Code. The setting key has been renamed from python.dataScience
to jupyter
^update
因此,根据您的情况,请将python.dataScience.runStartupCommands
重命名为jupyter.runStartupCommands
So in your case please rename python.dataScience.runStartupCommands
to jupyter.runStartupCommands
这篇关于python.dataScience是“未知配置设置",在VS Code中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!