22.7 C
Lào Cai
Monday, September 27, 2021

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

NSW records 18 new COVID-19 cases, lockdown decision likely on Wednesday

NSW Premier Gladys Berejiklian says she hopes to announce on Wednesday whether lockdown will be extended or not. Ms...
- Advertisement -

Scroll to a div using jQuery

Trước tiên bạn phải khai báo một id ở vị trí muốn Scroll tới. Ở đây tôi khai báo là

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...

Related news

NSW records 18 new COVID-19 cases, lockdown decision likely on Wednesday

NSW Premier Gladys Berejiklian says she hopes to announce on Wednesday whether lockdown will be extended or not. Ms...

Scroll to a div using jQuery

Trước tiên bạn phải khai báo một id ở vị trí muốn Scroll tới. Ở đây tôi khai báo là

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...
- 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