Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不小心git clean.vscode 目录包括一些(相当复杂的)设置文件。
git clean
犯了错误后,我注意到我的设置仍然在编辑器中应用。我可以通过打开开发者工具来提取它们吗?
您也许可以这样做,但问题是更改设置文件也会更新正在运行的代码实例中的内存表示。
无论如何,要通过调试器访问配置:
markersPanel.ts
configurationService.getConfiguration()
autoReveal
conf
请注意,这一项包含所有设置,包括默认设置。但恢复您的一些更改可能会有所帮助。