【问题标题】:Explorer Path in Visual Studio CodeVisual Studio Code 中的资源管理器路径
【发布时间】:2018-11-05 18:01:47
【问题描述】:

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

Visual Studio Code is unable to watch for file changes in this large workspace. Please follow the instructions link to resolve this issue.

Microsoft 已为此提供了解决方法。它涉及一些步骤来更改 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。

【问题讨论】:

    标签: linux path visual-studio-code explorer manjaro


    【解决方案1】:

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

    【讨论】:

    • 非常感谢。 “文件>打开文件夹”有效,即使在重新启动程序后设置仍然存在。我真是太傻了,我把它弄得比实际复杂。
    猜你喜欢
    • 1970-01-01
    • 2022-11-17
    • 1970-01-01
    • 2017-01-28
    • 2011-10-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多