Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Undo Tree but for VS Code

License

NotificationsYou must be signed in to change notification settings

Zeyu-Li/undo-tree-vscode

Repository files navigation

GitHub Repo starsGitHub Sponsors

Like the Undo Tree addon found inVim orEmacs but found right inside ofVSCode! Quickly navigate the states of the code easier using 1 shortcut.Functions sort of like git!

Make changes and create a state withctrl+y or+y on MacOS. This will create a new child state tothe initial state.

To go back a state to the parent state doctrl+alt+z. Now to go back the new state, hitctrl+alt+y. Make some more changes andhitting +alt+z will create a new state and undo.

Navigate easier using the sidebar and click to get to the desired state. You caneven see the timecode of the changes if you toggle show timecode.

Demo

demo.gif

Features

All states can be accessed visually on the Undo Tree sidebar when you click onthe history icon in the activity bar.

To create a save point doctrl+y or+y on MacOS. This will save your current changes ina state as a child to your previous save point.

To go back in history (or undo) hitctrl+alt+y.To redo, hitctrl+alt+y. This will go to yourfirst save point if you have multiple under the parent node.

Toggle the timecode of when you made the changes by going to command palette andlooking upUndo Tree: Toggle Showing Timecode.

Reset the tree by going to command palette and looking upUndo Tree: Reset.This will remove all the saved states.

Tip: If you have a super large file, this extension may not be good for yousince it stores the code of every node in memory.

Issues

If there are any issues, we track it onGitHub issues' tab.

Thanks in advance for reporting any issues


Contributing

See theGitHub issues' tab.

Thanks in advance if you want to contribute

Packaging

To package, first build with

vsce package --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/

Then dovsce publish if you are the owner

Thanks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp