如何在 VS 代码中启用时间线视图?

How to enable timeline view in VS code?

时间轴视图最近用于 VS 代码更新并显示文件更改的历史记录,但我不小心单击隐藏或某个地方,它被隐藏了。如何恢复?

这似乎是 VS 代码中的一个错误,尚未修复。如果您的版本未修复,您可以从用户设置中删除 timeline.excludeSources 设置,这应该会恢复视图。

To find user settings you can Ctrl + Shift + Q and find Preferences: Open User Settings. There search for timeline and remove the key value.

Context-Click (Right-Click) 在视图容器的标题栏上和 select 您已删除的视图。

或选择指令View: Reset View Locations

  1. 按 Ctrl+Shift+E 将打开左侧的 Explore Tab(显示当前目录中的所有文件和文件夹)。
  2. 点击右边的三个点,如图所示,点击时间轴,打开时间轴选项卡..