VS Code — How to specify a new project folder, to avoid errors?

Someone tell me how to solve this error?
Could not open "ArgvInput.php": failed to read file (Error: File not found (/var/www/project_old.local/vendor/...)).

Because of this when you click on the class does not move to the desired file in the project.

Before the project was along the following path: /var/www/project_old/...
Now new: /var/www/project_new/...

I understand vscode just somewhere Takeshi ways and is trying to access the old folder, even though the project has long been in the new.

How to make it clear to him that the whole project is now in the new folder?
April 4th 20 at 13:00
1 answer
April 4th 20 at 13:02
Solution
As I expected, it was stored in the cache.

The solution for Ubuntu users:

1. In the home folder of the user under which you logged in find the folder .phpls , and we carry the entire contents of this folder.
Or using the Nautilus file Manager
Either through the console: rm-rfv ~/.phpls/*
2. Reopens again the project folder which worked.
Immediately warn, will have to wait some time (if the project is huge) while the VS Code will scan the folder again. In my case the project at a half gig.

The solution for Windows users:
You may want to look for a similar folder on the drive :C is also in the folder of the user.
Recipe good, thank you!
But I grammarnazi :-), so - "AGAIN." - luisa commented on April 4th 20 at 13:05

Find more questions by tags Visual Studio Code