16.5 C
Lào Cai
Thursday, December 3, 2020

Close all tabs, but not the window, in Sublime Text

- Advertisement -
- Advertisement -

My way is revert all files after to close all files:

View/Show Console and enter command:

len([v.run_command("revert") for v in window.views()])

Or Save after Close all files:

len([v.run_command("save") for v in window.views()])

Then go to File/Close All Files

I tested on Mac OS and Sublime Text 2. You can try other version and OS.

Hope help you to close all files.

- Advertisement -
Dung Vuhttps://www.iwmce.com
Share technology knowledge together. Learn experience to develop yourself.

Latest news

How to make a handlebars helper global (in expressjs)

in helpers/handlebars.js: var register = function(Handlebars) { var helpers = { inc: function(value,...
- Advertisement -

How to Fix ERROR 1115 (42000): Unknown character set: ‘utf8mb4’

Your version does not support that character set, I believe it was 5.5.3 that introduced it. You should upgrade your mysql to the version...

Close all tabs, but not the window, in Sublime Text

My way is revert all files after to close all files: View/Show Console and enter command:

Modern Monochrome Home with Calm and Cosy Terrace and Steps

All right. Well, take care yourself. I guess that's what you're best, presence old master? A tremor in the Force. The last...

Related news

How to make a handlebars helper global (in expressjs)

in helpers/handlebars.js: var register = function(Handlebars) { var helpers = { inc: function(value,...

How to Fix ERROR 1115 (42000): Unknown character set: ‘utf8mb4’

Your version does not support that character set, I believe it was 5.5.3 that introduced it. You should upgrade your mysql to the version...

Close all tabs, but not the window, in Sublime Text

My way is revert all files after to close all files: View/Show Console and enter command:

Modern Monochrome Home with Calm and Cosy Terrace and Steps

All right. Well, take care yourself. I guess that's what you're best, presence old master? A tremor in the Force. The last...
- Advertisement -

BÌNH LUẬN

Vui lòng nhập bình luận của bạn
Vui lòng nhập tên của bạn ở đây