缺少 VSCode Settings.json [英] VSCode Settings.json is missing

查看:44
本文介绍了缺少 VSCode Settings.json的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习教程,我试图将 vscode 指向我为 Scrapy 设置的虚拟工作区,但是当我在 VSCode 中打开设置时,工作区设置"选项卡不在用户设置"选项卡旁边.我也试图通过去手动去文件%APPDATA%\Code\User\settings.json我从这里得到的:

您可以通过单击右上角带有文件图标的按钮访问实际文件:

I'm following a tutorial and I'm trying to point vscode to my virtual workspace I had set up for Scrapy, but when I open settings in VSCode, Workspace Settings tab is not there next to User Settings tab. Also I tried to go to file manually by going to %APPDATA%\Code\User\settings.json which I got from here: https://vscode.readthedocs.io/en/latest/getstarted/settings/ but settings.json isn't in there. How can I get this setting to appear or get to my settings.json file so I can make the necessary edits. Any help is appreciated.

解决方案

You should use the official documentation for this sort of thing as it's up to date, the readthedocs version appears to be an out of date rip of the website from the past.

The path you mention %APPDATA%\Code\User\settings.json is user settings, not workspace settings, workspace settings are located under the folder you have opened at <folder>\.vscode\settings.json. They don't exist by default but will be created when you open workspace settings and make some changes.

To open settings press ctrl+,, select the workspace settings button and change some settings:

You can access the actual file by clicking the button with the file icon in the top-right:

这篇关于缺少 VSCode Settings.json的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆