Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Smart Tabs #3

Closed
Closed

Description

@mattgraham

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

Activity

  1. DouweM commented on Feb 27, 2014

    @DouweM

    I'd love this as well.

  2. hkdobrev commented on Feb 27, 2014

    @hkdobrev

    +1

  3. rhysforyou commented on Feb 28, 2014

    @rhysforyou

    Agreed, this is one of the features I really liked in Chocolat and it's absence from Atom is definitely a downside.

  4. amccloud commented on Feb 28, 2014

    @amccloud

    Has anyone started work on this or atom/fuzzy-finder#5?

  5. lipis commented on Feb 28, 2014

    @lipis

    +1

  6. rodrigok commented on Mar 1, 2014

    @rodrigok

    +1

  7. madjam002 commented on Mar 3, 2014

    @madjam002

    +1

  8. pyromaniac commented on Apr 1, 2014

    @pyromaniac

    +1

  9. noclat commented on Apr 8, 2014

    @noclat

    +1

  10. akrueger commented on Apr 8, 2014

    @akrueger

    +1

  11. sethburtonhall commented on Apr 11, 2014

    @sethburtonhall

    +1 pretty essential to me.

  12. dotmilk commented on Apr 22, 2014

    @dotmilk

    +1 yes plz

  13. robahl commented on May 6, 2014

    @robahl

    Very hungebangli YES!

  14. javve commented on May 10, 2014

    @javve

    +1 This is very central in my workflow ❤️

  15. 77 remaining items

  16. carlosingles commented on Mar 22, 2016

    @carlosingles

    @Anon-Penguin You should be able to change this in Settings:

    image

  17. mathvav commented on Mar 22, 2016

    @mathvav
  18. deronsizemore commented on Mar 23, 2016

    @deronsizemore

    @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?

  19. carlosingles commented on Mar 23, 2016

    @carlosingles

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

  20. k00ni commented on Mar 24, 2016

    @k00ni

    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.

  21. mkov88 commented on Mar 24, 2016

    @mkov88

    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.

  22. rorykoehler commented on Mar 24, 2016

    @rorykoehler

    @mkov88 it's in settings.. see @carlosingles post a few posts up

  23. deronsizemore commented on Mar 24, 2016

    @deronsizemore

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

  24. andreaferretti commented on May 4, 2016

    @andreaferretti

    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)

  25. winstliu commented on May 4, 2016

    @winstliu
    Contributor

    @andreaferretti Yes, you can install the single-click-open package.

  26. habemus-papadum commented on Oct 12, 2016

    @habemus-papadum

    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.

  27. nathansobo commented on Oct 12, 2016

    @nathansobo
    Contributor

    @lilinjn You should be able to get pretty close by just disabling the tabs package.

  28. habemus-papadum commented on Oct 12, 2016

    @habemus-papadum

    @nathansobo thanks -- I will give that a try

  29. Xe commented on May 8, 2017

    @Xe

    Can you turn this behavior off?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions