Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove a project short cut from VSCode

So I am new to both Mac and VSCode but one of the unwarranted feature of either VSCode or Mac is just freaking me out. Hopefully someone can help me with this.

Basically, when I right click VSCode in the bottom dock of mac then it shows list of Recently used projects list to choose from without showing me full paths to them. So if I opened a project from two locations then it will show me both of them in the list and both of them show up as identical options because shortcut feature only cares about the names NOT the full paths. Which just makes things confusing. I just want to remove one of the two entries from this list that I see when I right click on VS Code icon in The Dock. How can I do that?

Below is the screen where Recent items show up and I want to remove an item from

enter image description here

like image 261
Lost Avatar asked Jan 02 '23 03:01

Lost


1 Answers

  1. Open the command pallete by selecting it from the View dropdown or by pressing ctrl+shift+p.
  2. Enter the File: Clear Recently Opened command.
  3. Restart Visual Studio Code.

At this point your recently opened directories will be empty. Unfortunately there is no way to target a single directory for removal.

like image 120
Alex Myers Avatar answered Jan 05 '23 18:01

Alex Myers