Sublime Forum

Undo after find and replace in multiple files

#1

I’ve posted a feature request here: sublimetext.userecho.com/topic/1 … all-files/, but I was wondering if someone has developed a plugin for undo across multiple files?

Right now there’s no way to:
Do a find and replace in an entire project,
Save all,
Check all of the files in a browser, then if there’s a mistake
Undo all

Once you save all, you have to go through each file individually to undo… This is not ideal if your find/replace touches many, many, files.

1 Like

#2

seem no one care about this feature.

0 Likes

#3

From this question this answer helped

  • Open console by Ctrl + ` [back tick]
  • Execute this in the console: [(v.run_command(“undo”), v.run_command(“save”)) for v in window.views()]
0 Likes