gpt4 book ai didi

visual-studio-code - 如何获取 Visual Studio Code 扩展的安装历史记录

转载 作者:行者123 更新时间:2023-12-04 01:36:39 32 4
gpt4 key购买 nike

是否有日志或其他内容会记录为 Visual Studio Code 安装特定扩展的时间?

我正在尝试调试一些可能已更改的设置,并且我想向后卸载我添加的扩展。

最佳答案

扩展的安装确实记录在名为 sharedprocess.log 的文件中.在 Windows 上,位置是 C:\Users\<User>\AppData\Roaming\Code\logs\<Timestamp> .下面是一个例子:

[2018-03-22 02:24:05.264] [sharedprocess] [info] Installing extension: vscode-table-formatter
[2018-03-22 02:24:06.142] [sharedprocess] [info] Downloaded extension: vscode-table-formatter
[2018-03-22 02:24:07.531] [sharedprocess] [info] Extracted extension to C:\Users\<User>\.vscode\extensions\shuworks.vscode-table-formatter-1.2.1: shuworks.vscode-table-formatter-1.2.1
[2018-03-22 02:24:07.565] [sharedprocess] [info] Updated metadata of the extension: shuworks.vscode-table-formatter-1.2.1
[2018-03-22 02:24:07.565] [sharedprocess] [info] Extensions installed successfully: shuworks.vscode-table-formatter

但是,为什么不直接打开 ~/.vscode/extensions在您的文件资源管理器中并按日期排序?那看起来简单多了。 :)

关于visual-studio-code - 如何获取 Visual Studio Code 扩展的安装历史记录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49416389/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com