Clear file content cache in Visual Studio Code Ask Question

Clear file content cache in Visual Studio Code Ask Question

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.

おすすめ記事