如何在 Visual Studio Code 中查看本地历史更改? [英] How to see local history changes in Visual Studio Code?

查看:206
本文介绍了如何在 Visual Studio Code 中查看本地历史更改?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种方法来查看我的本地历史记录变化.

I'm looking for a way to see my local history changes.

WebStorm 中的一种等效方式:

Kind of the equivalent way in WebStorm:

推荐答案

我认为 VS Code 中没有现成的支持.

I think there is no out-of-the-box support for that in VS Code.

您可以安装一个插件来为您提供类似的功能.例如:

You can install a plugin to give you similar functionality. Eg.:

https://marketplace.visualstudio.com/items?itemName=micnil.vscode检查点

或者更出名的:

https://marketplace.visualstudio.com/items?itemName=xyz.本地历史

可能需要配置一些细节:VS Code 搜索有时会因为此类插件创建的其他文件夹而变得混乱.您可以将其配置为忽略此类文件夹或更改其位置(将此类文件夹添加到您的 .gitignore 文件也可以解决此问题).

Some details may need to be configured: The VS Code search gets confused sometimes because of additional folders created by this type of plugins. You can configure it to ignore such folders or change their locations (adding such folders to your .gitignore file also solves this problem).

这篇关于如何在 Visual Studio Code 中查看本地历史更改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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