News for hackers. Stuff that matters.
Re:Why is it so hard to see code from 5 minutes ago? by jansan on Friday February 19, 2021 @02:17AM (#26190550)
This feature is absolutely outstanding, I use it all the time. Unfortunately they buried it in the "File" menu recently. It was so much easier to reach when it was unter "Version Control".
Re:Why is it so hard to see code from 5 minutes ago? by pewu on Friday February 19, 2021 @02:41AM (#26190630)
It's also accessible from context menu in the editor, I use it from there.
Re:Why is it so hard to see code from 5 minutes ago? by cribwi on Friday February 19, 2021 @05:07AM (#26191390)
You can assign a custom shortcut to it via Settings > Keymap and then the action "Main Menu > File > Local History". I myself have assigned the shortcut control+shift+=
Re:Why is it so hard to see code from 5 minutes ago? by jansan on Friday February 19, 2021 @07:45AM (#26192525)
Thanks, did that. I decided on Alt+Z, because Ctrl+Z is Undo, so I though this makes sense.
Re:Why is it so hard to see code from 5 minutes ago? by matsemann on Friday February 19, 2021 @10:19AM (#26194070)
And Ctrl+Alt+Z is revert changes. Either the whole (or selected) file, or the current block you're in. I use it all the time.