You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
One of the features I miss in Atom is the 'smart tabs' concept. In sublime when you click on an item in the file tree, unless you start modifying it, or double click on the file, it previews the file without opening the tab completely. Therefore if you click on another file without officially opening it it doesn't stay open.
You'll see I browse through a few files, make a change and the tab opens and shows changes have been made in the tab color. Later in the gif I double click on the file and it opens it officially in a tab.
Would love to see how we can add this into Atom
Reacted by Dmytro Karimov, Patricio Ezequiel Hondagneu Roig, Peter Nixey, Francesco Mari, Sylvestre Antoine, Nate Reinar Windwood and Rafael Beckel
@carlosingles I'm not sure what the point of that "all pending pane items" option is?
Mine is currently checked which should allow items to be previewed without adding them to the pane permanently yet when I click on a file from tree-view, it still opens a new tab and the tab stays in the pane until I manually close it. Looks like the only difference that I can see is that with that option checked, the new file name in the pane is in italics and they are not in italics when that option is unchecked.
@deronsizemore The behaviour should be that you select a file and it opens a tab which is in italics (pending pane), when you select another file, that pending pane should get replaced with whatever file you clicked.
To make the pending pane a persistent tab, you can double click the file, edit the file or double click the tab title.
Did you make the feature default, so that new files will be opened all in the same tab?
I updated to Atom 1.6 yesterday and got confused due that "change", because before a new file gets opened in a new tab.
Furthermore, in my opinion moving settings to change that into the tabs package is confusing, because i would expect such in the settings view.My mistake, found the setting "Allow pending pane items" @carlosingles mentioned.
@carlosingles Thanks. Seems to be working as intended then on my end. It was just a misunderstanding on my part for how I assumed it was supposed to work. I just wish the pending tab would go away once I click into another file (like SublimeText 2). Just seems pointless to me to have a preview tab that that I have to manually close once I'm done previewing it. But, it's not a huge deal.
I have unset Allow Pending Pane Items, but the end result is that whenever I click an item in the tree view, nothing happens.
Is there a way to restore the old behaviour, whereby a single click on a file opens it permanently? I don't care for clutter, I will close files I don't want to see open anymore, but it is maddening to open files to view them and then not being able to find them a few clicks later (because they were in a temporary pane and have been replaced)
Reacted by Denis Koltsov, Kazuya Hara, Jac and Alf
An extreme version of this might be called "Atom No Tabs" which avoids creating any tabs at all (but splitting a large work area to allow side by side file editing, etc is fully supported). While it might seem counter intuitive why this could be better, the feature is available in jetbrains editors (as well as being the way emacs and vim work), and is actually quite easy to use once a shortcut is provided ("shift-shift" is the default in the jetbrains case) to quickly show a list of recent files. The result is a cleaner workspace and very easy navigation.
Activity
DouweM commentedon Feb 27, 2014
I'd love this as well.
hkdobrev commentedon Feb 27, 2014
+1
rhysforyou commentedon Feb 28, 2014
Agreed, this is one of the features I really liked in Chocolat and it's absence from Atom is definitely a downside.
amccloud commentedon Feb 28, 2014
Has anyone started work on this or atom/fuzzy-finder#5?
lipis commentedon Feb 28, 2014
+1
rodrigok commentedon Mar 1, 2014
+1
madjam002 commentedon Mar 3, 2014
+1
pyromaniac commentedon Apr 1, 2014
+1
noclat commentedon Apr 8, 2014
+1
akrueger commentedon Apr 8, 2014
+1
sethburtonhall commentedon Apr 11, 2014
+1 pretty essential to me.
dotmilk commentedon Apr 22, 2014
+1 yes plz
robahl commentedon May 6, 2014
Very hungebangli YES!
javve commentedon May 10, 2014
+1 This is very central in my workflow ❤️
77 remaining items
carlosingles commentedon Mar 22, 2016
@Anon-Penguin You should be able to change this in Settings:
mathvav commentedon Mar 22, 2016
Thanks @carlosingles!
deronsizemore commentedon Mar 23, 2016
@carlosingles I'm not sure what the point of that "all pending pane items" option is?
Mine is currently checked which should allow items to be previewed without adding them to the pane permanently yet when I click on a file from tree-view, it still opens a new tab and the tab stays in the pane until I manually close it. Looks like the only difference that I can see is that with that option checked, the new file name in the pane is in italics and they are not in italics when that option is unchecked.
What am I missing?
carlosingles commentedon Mar 23, 2016
@deronsizemore The behaviour should be that you select a file and it opens a tab which is in italics (pending pane), when you select another file, that pending pane should get replaced with whatever file you clicked.
To make the pending pane a persistent tab, you can double click the file, edit the file or double click the tab title.
k00ni commentedon Mar 24, 2016
Did you make the feature default, so that new files will be opened all in the same tab?
I updated to Atom 1.6 yesterday and got confused due that "change", because before a new file gets opened in a new tab.
Furthermore, in my opinion moving settings to change that into the tabs package is confusing, because i would expect such in the settings view.My mistake, found the setting "Allow pending pane items" @carlosingles mentioned.mkov88 commentedon Mar 24, 2016
If you don't want this feature:
you can disable this functionality by unchecking Allow Pending Pane Items in the Core Settings section of the editor settings.
rorykoehler commentedon Mar 24, 2016
@mkov88 it's in settings.. see @carlosingles post a few posts up
deronsizemore commentedon Mar 24, 2016
@carlosingles Thanks. Seems to be working as intended then on my end. It was just a misunderstanding on my part for how I assumed it was supposed to work. I just wish the pending tab would go away once I click into another file (like SublimeText 2). Just seems pointless to me to have a preview tab that that I have to manually close once I'm done previewing it. But, it's not a huge deal.
andreaferretti commentedon May 4, 2016
I have unset
Allow Pending Pane Items, but the end result is that whenever I click an item in the tree view, nothing happens.Is there a way to restore the old behaviour, whereby a single click on a file opens it permanently? I don't care for clutter, I will close files I don't want to see open anymore, but it is maddening to open files to view them and then not being able to find them a few clicks later (because they were in a temporary pane and have been replaced)
winstliu commentedon May 4, 2016
@andreaferretti Yes, you can install the single-click-open package.
habemus-papadum commentedon Oct 12, 2016
An extreme version of this might be called "Atom No Tabs" which avoids creating any tabs at all (but splitting a large work area to allow side by side file editing, etc is fully supported). While it might seem counter intuitive why this could be better, the feature is available in jetbrains editors (as well as being the way emacs and vim work), and is actually quite easy to use once a shortcut is provided ("shift-shift" is the default in the jetbrains case) to quickly show a list of recent files. The result is a cleaner workspace and very easy navigation.
nathansobo commentedon Oct 12, 2016
@lilinjn You should be able to get pretty close by just disabling the
tabspackage.habemus-papadum commentedon Oct 12, 2016
@nathansobo thanks -- I will give that a try
Xe commentedon May 8, 2017
Can you turn this behavior off?
winstliu commentedon May 8, 2017
@Xe yep! https://discuss.atom.io/t/i-cant-open-a-second-file-opening-a-second-file-makes-the-first-disappear/27266 has a section describing how to disable the feature.