Plug-in name: Local History
Plug-in address: https://marketplace.visualstudio.com/items? itemName=xyz.local-history
Download the plug-in, restart vscode, and then each modification will generate a .history directory in the root directory, which contains modification records.
Click "compare" to compare the modification records.
PHP Chinese website has a large number of free vscode introductory tutorials, everyone is welcome to learn!
The above is the detailed content of How to view the history of the current file in vscode. For more information, please follow other related articles on the PHP Chinese website!