Visual Studio Code 中的资源管理器路径

pra*_*gun 3 linux explorer path visual-studio-code manjaro

我在 Manjaro KDE Linux 上运行 VS code 并遇到了问题。每当我启动 VS 代码时,都会收到以下错误:

Visual Studio Code is unable to watch for file changes in this large workspace. Please follow the instructions link to resolve this issue.
Run Code Online (Sandbox Code Playgroud)

微软为此提供了解决方法。它涉及一些步骤来更改 Linux 文件的某些参数的大小。https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc

我不想弄乱该文件,而是想更改 VS Code Explorer 的路径。正如您在所附的屏幕截图中看到的,当前它指向我的 $HOME(Pragun) 位置,我想将其更改为一个文件夹。但是,我搜索了 VS Code 上的每个帮助文档,查看了 VS Code 设置中的各个位置,我找不到更改 VS Code Explorer 监视的文件夹路径的方法。看来我一开始设置的任何内容都是硬编码的,我无法重置它。

如果您知道如何更改它,请感谢您的帮助。我也没有创建settings.json。

在此输入图像描述

Rob*_*ens 11

单击“文件 > 打开文件夹”选择要打开的文件夹。如果您从命令行打开 vscode,则可以运行code .在当前文件夹中打开 vscode。