Clear file content cache in Visual Studio Code
I think, I understood correct. You can follow below steps.
- Press Ctrl + Shift + P
- type command Clear Editor History
- Press Enter
It will solve your problem.
For me on macOS the following has worked:
- Press Cmd + Shift + P
- Type command Clear Search History
- Press Enter
Then for the search results:
- Press Cmd + Shift + P
- Type command Clear Search Results
- Press Enter