Clear file content cache in Visual Studio Code

2019-03-17 09:18发布

问题:

My Visual Studio code, on a Windows machine, keeps on showing me the previous content of a file even after this one has been updated, while notepad ++ doesn't behave in the same way.

Is there a way to somehow clean the cache so as to receive fresh content every time?

回答1:

I think, I understood correct. You can follow below steps.

  1. Press Ctrl + Shift + P
  2. type command Clear Editor History
  3. Press Enter

It will solve your problem.