清除 Visual Studio Code 中的文件内容缓存 [英] Clear file content cache in Visual Studio Code

查看:107
本文介绍了清除 Visual Studio Code 中的文件内容缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 Visual Studio 代码,在 Windows 机器上,即使在此文件已更新后,仍会继续向我显示文件的先前内容,而 notepad ++ 的行为方式不同.

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?

推荐答案

我想,我理解正确.您可以按照以下步骤操作.

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

  1. Ctrl + Shift + P
  2. 输入命令 清除编辑器历史
  3. 按 Enter

它将解决您的问题.

这篇关于清除 Visual Studio Code 中的文件内容缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆