ericcornelissen / pinned-tabs-for-atom

A package for the Atom text editor that allows you to pin tabs
https://atom.io/packages/pinned-tabs
MIT License
18 stars 3 forks source link

Prevent closing a pinned tab #20

Closed jmdacruz closed 7 years ago

jmdacruz commented 8 years ago

It would be nice to have a configuration to be able to prevent closing pinned tabs when doing "Close All Tabs"

ericcornelissen commented 8 years ago

Great idea! I will look into this when issue #21 is closed :smile:

ericcornelissen commented 8 years ago

As of now it is not possible to prevent a tab from closing after "Close All Tabs" has been initiated, I've opened an issue at Atom repository requesting for a feature that would allow for your request to be added. I'll keep this issue updated on the progress and will implement the feature as soon as possible :smile:

rgauci commented 7 years ago

I'd also love to have Close all but pinned functionality! Any updates on this, please?

ericcornelissen commented 7 years ago

@rgauci, this is already part of the package but it is disabled by default 😄

Just go to the settings of the package and check the Enable the 'Close Unpinned Tabs' option checkbox. It'll add an option to the right-click menu of any tab with the text "Close Unpinned Tabs"

option

rgauci commented 7 years ago

Love it, thanks!

xixixao commented 7 years ago

Looks like this task can be closed now .)