问题标签 [user-preferences]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
152 浏览

python - 选定的 Python 解释器未写入 Visual Studio 代码中的用户/工作区设置

我在 mac/osx 上使用 VSC 最新版本(1.59)。当我修改一些设置时,通常它们应该记录在用户设置中。如果我以 json 格式打开我的设置,一些行将如下所示:

这就是我对颜色主题和文件图标所做的更改。但是,当我在命令面板 -> python:select 解释器中更改我的 python 解释器时,我所做的更改不会记录/写入那里。我希望像这样的行:

但我不存在。它实际上表现正常并按预期使用所选的python解释器,但它只是没有被写入我的用户目录(/Users/andi/Library/Application Support/Code/User/setting.json)或内部的用户setting.json文件当前项目中的 .vscode 文件夹。

有谁知道这个设置写到哪里了?