New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Tabs #3

Closed
mattgraham opened this Issue Aug 20, 2013 · 101 comments

Comments

Projects
None yet
@mattgraham

mattgraham commented Aug 20, 2013

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

@DouweM

This comment has been minimized.

Show comment
Hide comment
@DouweM

DouweM Feb 27, 2014

I'd love this as well.

DouweM commented Feb 27, 2014

I'd love this as well.

@hkdobrev

This comment has been minimized.

Show comment
Hide comment
@hkdobrev

hkdobrev commented Feb 27, 2014

+1

@rhysforyou

This comment has been minimized.

Show comment
Hide comment
@rhysforyou

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

rhysforyou commented 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

This comment has been minimized.

Show comment
Hide comment
@amccloud

amccloud Feb 28, 2014

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

amccloud commented Feb 28, 2014

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

@lipis

This comment has been minimized.

Show comment
Hide comment
@lipis

lipis commented Feb 28, 2014

+1

@rodrigok

This comment has been minimized.

Show comment
Hide comment
@rodrigok

rodrigok commented Mar 1, 2014

+1

@madjam002

This comment has been minimized.

Show comment
Hide comment
@madjam002

madjam002 commented Mar 3, 2014

+1

@pyromaniac

This comment has been minimized.

Show comment
Hide comment
@pyromaniac

pyromaniac commented Apr 1, 2014

+1

@noclat

This comment has been minimized.

Show comment
Hide comment
@noclat

noclat commented Apr 8, 2014

+1

@akrueger

This comment has been minimized.

Show comment
Hide comment
@akrueger

akrueger commented Apr 8, 2014

+1

@sethburtonhall

This comment has been minimized.

Show comment
Hide comment
@sethburtonhall

sethburtonhall Apr 11, 2014

+1 pretty essential to me.

sethburtonhall commented Apr 11, 2014

+1 pretty essential to me.

@dotmilk

This comment has been minimized.

Show comment
Hide comment
@dotmilk

dotmilk Apr 22, 2014

+1 yes plz

dotmilk commented Apr 22, 2014

+1 yes plz

@robahl

This comment has been minimized.

Show comment
Hide comment
@robahl

robahl May 6, 2014

Very hungebangli YES!

robahl commented May 6, 2014

Very hungebangli YES!

@javve

This comment has been minimized.

Show comment
Hide comment
@javve

javve May 10, 2014

+1 This is very central in my workflow ❤️

javve commented May 10, 2014

+1 This is very central in my workflow ❤️

@jamesplease

This comment has been minimized.

Show comment
Hide comment
@jamesplease

jamesplease May 10, 2014

I'd love to help out with this if there's anything I can do. If anyone wants to try to figure it out just ping me.

jamesplease commented May 10, 2014

I'd love to help out with this if there's anything I can do. If anyone wants to try to figure it out just ping me.

@fotanus

This comment has been minimized.

Show comment
Hide comment
@fotanus

fotanus Jun 5, 2014

👍 :-)

fotanus commented Jun 5, 2014

👍 :-)

@ezekg

This comment has been minimized.

Show comment
Hide comment
@ezekg

ezekg commented Jun 18, 2014

+1 👍

@ibrahimyu

This comment has been minimized.

Show comment
Hide comment
@ibrahimyu

ibrahimyu Jun 21, 2014

Any news on this?

ibrahimyu commented Jun 21, 2014

Any news on this?

@jamesplease

This comment has been minimized.

Show comment
Hide comment
@jamesplease

jamesplease commented Jun 21, 2014

Yes, #2205

@wprater

This comment has been minimized.

Show comment
Hide comment
@wprater

wprater Jun 24, 2014

👍 and this feature too "Pressing right in the Goto Anything overlay will open the selected file without closing the overlay"

wprater commented Jun 24, 2014

👍 and this feature too "Pressing right in the Goto Anything overlay will open the selected file without closing the overlay"

@ekremkaraca

This comment has been minimized.

Show comment
Hide comment
@ekremkaraca

ekremkaraca commented Jul 13, 2014

+INFINITE

@ddavison

This comment has been minimized.

Show comment
Hide comment
@ddavison

ddavison Jul 28, 2015

(lock the thread)

ddavison commented Jul 28, 2015

(lock the thread)

@dhnaranjo

This comment has been minimized.

Show comment
Hide comment
@dhnaranjo

dhnaranjo Jul 30, 2015

mnquintana, if you check out my comment from June 7th where I mentioned the Preview Tabs functionality only working on mouse click, not on keyboard based navigation. I believe this change is the thing that the users below me were +1'ing.

dhnaranjo commented Jul 30, 2015

mnquintana, if you check out my comment from June 7th where I mentioned the Preview Tabs functionality only working on mouse click, not on keyboard based navigation. I believe this change is the thing that the users below me were +1'ing.

@mnquintana

This comment has been minimized.

Show comment
Hide comment
@mnquintana

mnquintana Jul 30, 2015

Member

@dhnaranjo Would you mind opening a new issue for that?

Member

mnquintana commented Jul 30, 2015

@dhnaranjo Would you mind opening a new issue for that?

@wprater

This comment has been minimized.

Show comment
Hide comment
@wprater

wprater Nov 10, 2015

is there a new issue for #3 (comment)

wprater commented Nov 10, 2015

is there a new issue for #3 (comment)

@50Wliu

This comment has been minimized.

Show comment
Hide comment
@50Wliu

50Wliu Nov 27, 2015

Member

+1

@maahd This feature is already implemented. What are you +1ing?

Member

50Wliu commented Nov 27, 2015

+1

@maahd This feature is already implemented. What are you +1ing?

@maahd

This comment has been minimized.

Show comment
Hide comment
@maahd

maahd Nov 27, 2015

@50Wliu you are right. Sorry my bad. I didn't read the thread properly. I will remove my previous comment.

maahd commented Nov 27, 2015

@50Wliu you are right. Sorry my bad. I didn't read the thread properly. I will remove my previous comment.

@dqisme

This comment has been minimized.

Show comment
Hide comment
@dqisme

dqisme Dec 2, 2015

@wprater Not yet, I search this issue everywhere but I don't find it out. And have @mnquintana committed a new issue for that? We will follow it...

dqisme commented Dec 2, 2015

@wprater Not yet, I search this issue everywhere but I don't find it out. And have @mnquintana committed a new issue for that? We will follow it...

@deronsizemore

This comment has been minimized.

Show comment
Hide comment
@deronsizemore

deronsizemore Dec 16, 2015

I have turned on the Smart Tabs option and it seems that it's still opening a new tab when I single-click on a file name in the tree view. From that first click, it doesn't open a new tab each time I click on a new file; it just opens each file in that same tab (I guess it's a preview tab?) The setting says that tabs will only stay open if the file is double-clicked on which doesn't seem to exactly be the case here? Is this working correctly and is there a way to force Atom to act just as Sublime Text does in that it doesn't open any tabs at all when a file is single-clicked?

deronsizemore commented Dec 16, 2015

I have turned on the Smart Tabs option and it seems that it's still opening a new tab when I single-click on a file name in the tree view. From that first click, it doesn't open a new tab each time I click on a new file; it just opens each file in that same tab (I guess it's a preview tab?) The setting says that tabs will only stay open if the file is double-clicked on which doesn't seem to exactly be the case here? Is this working correctly and is there a way to force Atom to act just as Sublime Text does in that it doesn't open any tabs at all when a file is single-clicked?

@adambrenecki

This comment has been minimized.

Show comment
Hide comment
@adambrenecki

adambrenecki Dec 22, 2015

@deronsizemore I just had a look at Sublime (Build 3083 on Linux), and the behaviour you're describing is exactly how Sublime acts. When you single-click on a file you get a temporary preview tab (with the tab title italicised), double-clicking the file or editing the buffer turns it into a regular tab.

adambrenecki commented Dec 22, 2015

@deronsizemore I just had a look at Sublime (Build 3083 on Linux), and the behaviour you're describing is exactly how Sublime acts. When you single-click on a file you get a temporary preview tab (with the tab title italicised), double-clicking the file or editing the buffer turns it into a regular tab.

@deronsizemore

This comment has been minimized.

Show comment
Hide comment
@deronsizemore

deronsizemore Dec 22, 2015

@adambrenecki Interesting. I'm still using SublimeText 2 on my machine which doesn't act in that way. In that version, it shows you a preview of files you click on but no new preview tab opens that you then need to close if you don't end up doing anything with the preview. It's not a huge deal; just seemed like one more tab that needs to be closed when I have no intention of using that preview tab, i.e, just wanted to peek at something inside another file real quick.

deronsizemore commented Dec 22, 2015

@adambrenecki Interesting. I'm still using SublimeText 2 on my machine which doesn't act in that way. In that version, it shows you a preview of files you click on but no new preview tab opens that you then need to close if you don't end up doing anything with the preview. It's not a huge deal; just seemed like one more tab that needs to be closed when I have no intention of using that preview tab, i.e, just wanted to peek at something inside another file real quick.

@ikrauchanka

This comment has been minimized.

Show comment
Hide comment
@ikrauchanka

ikrauchanka Dec 25, 2015

thank you guys!

ikrauchanka commented Dec 25, 2015

thank you guys!

@WakeupTsai

This comment has been minimized.

Show comment
Hide comment
@WakeupTsai

WakeupTsai commented Jan 11, 2016

thank you!

@erikjansson

This comment has been minimized.

Show comment
Hide comment
@erikjansson

erikjansson Feb 3, 2016

Thanks for this! However I totally agree with @deronsizemore. The "preview tab" isn't temporary since it doesn't go away if you execute an action such as clicking on another tab.

I also come from ST2, and if indeed the behavior is different in ST3, I don't see the benefit. The point of the feature (in my book), is to eliminate having to close tabs you didn't actively choose to open.

erikjansson commented Feb 3, 2016

Thanks for this! However I totally agree with @deronsizemore. The "preview tab" isn't temporary since it doesn't go away if you execute an action such as clicking on another tab.

I also come from ST2, and if indeed the behavior is different in ST3, I don't see the benefit. The point of the feature (in my book), is to eliminate having to close tabs you didn't actively choose to open.

@pietrosld

This comment has been minimized.

Show comment
Hide comment
@pietrosld

pietrosld Feb 26, 2016

totally agree with @erikjansson that totally agree with @deronsizemore

pietrosld commented Feb 26, 2016

totally agree with @erikjansson that totally agree with @deronsizemore

@mathvav

This comment has been minimized.

Show comment
Hide comment
@mathvav

mathvav Mar 21, 2016

It seems to be default behavior. Is there a way to disable this, as I've gotten used to Atom fully opening tabs on one click?

mathvav commented Mar 21, 2016

It seems to be default behavior. Is there a way to disable this, as I've gotten used to Atom fully opening tabs on one click?

@carlosingles

This comment has been minimized.

Show comment
Hide comment
@carlosingles

carlosingles Mar 22, 2016

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

image

carlosingles commented Mar 22, 2016

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

image

@mathvav

This comment has been minimized.

Show comment
Hide comment
@mathvav

mathvav commented Mar 22, 2016

Thanks @carlosingles!

@deronsizemore

This comment has been minimized.

Show comment
Hide comment
@deronsizemore

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

deronsizemore commented 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

This comment has been minimized.

Show comment
Hide comment
@carlosingles

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

carlosingles commented 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

This comment has been minimized.

Show comment
Hide comment
@k00ni

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

k00ni commented 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

This comment has been minimized.

Show comment
Hide comment
@mkov88

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

mkov88 commented 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

This comment has been minimized.

Show comment
Hide comment
@rorykoehler

rorykoehler Mar 24, 2016

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

rorykoehler commented Mar 24, 2016

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

@deronsizemore

This comment has been minimized.

Show comment
Hide comment
@deronsizemore

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

deronsizemore commented 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

This comment has been minimized.

Show comment
Hide comment
@andreaferretti

andreaferretti 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)

andreaferretti commented 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)

@50Wliu

This comment has been minimized.

Show comment
Hide comment
@50Wliu

50Wliu May 4, 2016

Member

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

Member

50Wliu commented May 4, 2016

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

@habemus-papadum

This comment has been minimized.

Show comment
Hide comment
@habemus-papadum

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

habemus-papadum commented 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

This comment has been minimized.

Show comment
Hide comment
@nathansobo

nathansobo Oct 12, 2016

Contributor

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

Contributor

nathansobo commented Oct 12, 2016

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

@habemus-papadum

This comment has been minimized.

Show comment
Hide comment
@habemus-papadum

habemus-papadum Oct 12, 2016

@nathansobo thanks -- I will give that a try

habemus-papadum commented Oct 12, 2016

@nathansobo thanks -- I will give that a try

@Xe

This comment has been minimized.

Show comment
Hide comment
@Xe

Xe May 8, 2017

Can you turn this behavior off?

Xe commented May 8, 2017

Can you turn this behavior off?

@50Wliu

This comment has been minimized.

Show comment
Hide comment
@50Wliu
Member

50Wliu commented May 8, 2017

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