Clear content content cache in Visual Studio Code

My Visual Studio Code on a Windows machine continues to show the previous file contents even after updating it, and it notepad ++

doesn't behave like this.

Is there a way to somehow clear the cache to get fresh content every time?

+45


source to share


2 answers


I think I understood correctly. You can follow the steps below.

  1. Click Ctrl+ Shift+P
  2. type command Clear editor history
  3. Hit enter


This will solve your problem.

+100


source


The following worked for me on macOS :

  1. Click Cmd+ Shift+P
  2. Enter the command Clear search history
  3. Hit enter


Then for the search results:

  1. Click Cmd+ Shift+P
  2. Enter the command Clear Search Results
  3. press enter
0


source







All Articles