Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change current working directory in VS Code?

How to change current working directory in VS Code?

Let's say, I have a parent folder called apps and inside it I have a child folder called MyBeautifulApp and I opened the apps folder using vscode. What command sould I run on the commandline to not only cd into MyBeautifulApp but also change the directory so that it seems like I opened MyBeautifulApp using VS Code and did not just cd into it?

like image 442
YulePale Avatar asked Feb 22 '26 07:02

YulePale


1 Answers

In File select Close Folder, and you will go back to the main menu, where you can select a new folder as the new working directory.

like image 148
DeepDarkDoor Avatar answered Feb 24 '26 12:02

DeepDarkDoor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!