Sublime Forum

Bulk SAVE ALL open files

#1

I really love to just keep opening new tabs for rough editing everything before I copy and paste to some other destination. Eventually, there’s too many tabs to navigate. It would be great if I could just SAVE them all or quit the program without saving any of them.

There’s this

for window in sublime.windows(): window.run_command("save_all")

^ how do I actually run that and get it to save to a predefined directory with the least clicks possible? At the moment, it just saves to the plugins directory

0 Likes

#2

Have you tried File -> Save All ?

2 Likes

#3

Save all requires me to confirm the filename and hit save. Takes a long time with 100 open tabs

0 Likes

#4

Okay, so to get an idea, you have lots of modified tabs open (which are not actual files, but just open modified tabs) and you want to close them all ?

0 Likes