atom-zentabs
atom-zentabs copied to clipboard
Keep the opened tabs amount below sanity.
Show pin in menu but when i click never pinned tab, always show "pin tab" ![image](https://user-images.githubusercontent.com/8495168/178946930-a7855d82-83b0-431a-a4ae-f1bede394b41.png)
Use `customElements.define` instead of `document.registerElement` see https://javascript.info/custom-elements ``` HTMLDocument.registerElement (file:///private/var/folders/k0/r1xx17k90v1fnh95fw7y9hd80000gn/T/AppTranslocation/11FB18BE-497C-4F1F-8E53-7A1057E1B047/d/Atom%20Nightly.app/Contents/Resources/app.asar/static/index.js:160:12) registerElement (/Users/adminos/.atom/packages/zentabs/node_modules/space-pen/lib/space-pen.js:66:88) Builder.openTag (/Users/adminos/.atom/packages/zentabs/node_modules/space-pen/lib/space-pen.js:297:27) Builder.tag (/Users/adminos/.atom/packages/zentabs/node_modules/space-pen/lib/space-pen.js:274:12) Function.span (/Users/adminos/.atom/packages/zentabs/node_modules/space-pen/lib/space-pen.js:83:49) Function.content (/Users/adminos/.atom/packages/zentabs/lib/zentabs-controller.coffee:25:19) ```
[Enter steps to reproduce:] 1. Open Settings tab 2. Open document [firstblogtheme.html](atom://teletype/portal/8b49e716-09e0-4b9f-8dd1-0b6409526448) 3. Open preview tab (atom-html-preview) **Atom**: 1.58.0 x64 **Electron**: 9.4.4 **OS**: macOS 11.5.1 **Thrown From**: [zentabs](https://github.com/ArnaudRinquin/atom-zentabs) package 0.8.9...
Yep
when I find in project, each time I click on one of the items, it opens a new tab. I edit some stuff, then when I reach my tab limit,...
What logic does `zentabs` use to determine which tab to close, if it has to close one? I would have expected that it would close either - the tab that...
See screenshots: ![screen shot 2018-12-03 at 4 39 37 pm](https://user-images.githubusercontent.com/297678/49410569-311d1500-f71a-11e8-83e1-93cd96f6a1ef.png) (shows setting enabled) ![screen shot 2018-12-03 at 4 40 28 pm](https://user-images.githubusercontent.com/297678/49410570-311d1500-f71a-11e8-8fba-aac6b9b2c5df.png) (shows the tab has an "unpin" option because it...
When installing the plugin, it immediately activates at max=5, with all the check boxes for "Never close ..." disabled. If you have more than 5 tabs open, it will immediately...
It would be nice if you could keep tabs pinned when you close a project and/or close atom, instead of having to re-pin.
I have never got this to work properly. It just seems to close tabs not pinned.