Explorer Path in Visual Studio Code
Asked Answered
W

1

5

I am running VS code on Manjaro KDE Linux and have run into a problem. Whenever I start my VS code I get the following error:

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

Microsoft has provided a work around for this. It involves some steps to change the size of some parameter of a linux file. https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc

I don't want to mess with that file, instead what I would like to change is the path of VS Code Explorer. As you can see in the attached screenshot, currently it points to my $HOME(Pragun) location and i want to change it to just a folder. However, I have searched every doc of help on VS Code, looked everywhere inside the settings of VS code, I could not find a way to change the path of folder which VS code Explorer monitors. It appears as if whatever I set in the beginning is hard coded and there is no way I can reset that.

Appreciate your help if you know how to change it. I also didn't have settings.json created.

enter image description here

Wayworn answered 5/11, 2018 at 18:1 Comment(0)
G
14

Click "File > Open Folder" to select the folder that you want to open. If you are opening vscode from the command line, you can run code . to open vscode in the current folder.

Gati answered 5/11, 2018 at 22:42 Comment(1)
Thank you so much. "File>Open Folder" worked and the setting persisted even after restarting the program. How silly of me, I made it complex than it actually was.Wayworn

© 2022 - 2024 — McMap. All rights reserved.