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.
Files opened from external source should not be temporary #170
Files that I open from finder or any other external source should also be opened permanently.
I think the fact that basically all files that are opened now are opened in "temporary mode" breaks your work flow. You don't want to have to remember to double click a file to make it permanent every time after opening. Opening files permanently should be the default, with the temporary view mode only being activated when you single click on a file in the tree view.
Try opening 3 files from finder/external file browser in a row. Only the last one will be open, unless you double click the tabs.
@mnquintana I really think this is a bug, rather than an enhancement. Today I was opening files on an FTP server via transmit for some quick editing, and after having opened the 5 files that I needed, I went to Atom to work on them, but found that it had only kept the last file that I opened open in it's tabs, so I had to go and open them again, one by one, then double click the tab to force the file to stay open. This is really sub optimal and causing wasted time.
@kevinsawicki we talked on our call today about making tabs default to permanent and require some option passed in the call to make them temporary to avoid future bugs like this - today the tree-view would be the only caller that would initiate temporary tabs - does that make sense?
Everything except single click in tree view should make permanent tabs. If you're in fuzzy finder, you are using the keyboard, and it's not a big effort to hit cmd-w after cmd-p. When you want to open a bunch of files with cmd-p to work in however, it's a real hassle to have to switch from keyboard to mouse in order to double click the tab to make them permanent before you can open the next file.
@thedaniel Maybe it's an idea to also make the temporary state of a tab keyboard toggle-able.
@kevinsawicki we talked on our call today about making tabs default to permanent and require some option passed in the call to make them temporary to avoid future bugs like this - today the tree-view would be the only caller that would initiate temporary tabs - does that make sense?
This is definitely the way to approach resolving this issue. Doing the opposite seems rather silly, since there are far fewer cases where we want to open a tab in preview mode than not. Not having looked at the code for this, my immediate thought is that this must surely be the easiest approach, and the one requiring minimal changes.
Activity
acontreras89 commentedon Jun 10, 2015
👍
adamreisnz commentedon Jun 14, 2015
@mnquintana I really think this is a bug, rather than an enhancement. Today I was opening files on an FTP server via transmit for some quick editing, and after having opened the 5 files that I needed, I went to Atom to work on them, but found that it had only kept the last file that I opened open in it's tabs, so I had to go and open them again, one by one, then double click the tab to force the file to stay open. This is really sub optimal and causing wasted time.
thedaniel commentedon Jun 15, 2015
@kevinsawicki we talked on our call today about making tabs default to permanent and require some option passed in the call to make them temporary to avoid future bugs like this - today the tree-view would be the only caller that would initiate temporary tabs - does that make sense?
adamreisnz commentedon Jun 15, 2015
Seems like a good idea in my opinion.
acontreras89 commentedon Jun 15, 2015
sounds great 😄
and it's likely to simplify some cases, like double-clicking in tree-view to open the file without preview mode.
crazymykl commentedon Jun 17, 2015
@thedaniel: cmd-p should also make temporary tabs.
kevinsawicki commentedon Jun 17, 2015
Yup, makes sense
adamreisnz commentedon Jun 17, 2015
@crazymykl I disagree, see this issue: #164
Everything except single click in tree view should make permanent tabs. If you're in fuzzy finder, you are using the keyboard, and it's not a big effort to hit cmd-w after cmd-p. When you want to open a bunch of files with cmd-p to work in however, it's a real hassle to have to switch from keyboard to mouse in order to double click the tab to make them permanent before you can open the next file.
@thedaniel Maybe it's an idea to also make the temporary state of a tab keyboard toggle-able.
crazymykl commentedon Jun 17, 2015
Doesn't hitting any key then backspace make it permanent already, no mousing needed?
Since there are differences of opinion, a setting seems prudent.
adamreisnz commentedon Jun 17, 2015
I don't really want to incorporate having to hit a random key + backspace for every single file that I open into my daily workflow....
Atom is supposed to make my life easier, not harder. But I agree, if this could be turned into sensible settings, everyone would be happy. E.g.:
Use preview tabs for:
thomasjo commentedon Jun 18, 2015
This is definitely the way to approach resolving this issue. Doing the opposite seems rather silly, since there are far fewer cases where we want to open a tab in preview mode than not. Not having looked at the code for this, my immediate thought is that this must surely be the easiest approach, and the one requiring minimal changes.
alexrussell commentedon Jul 6, 2015
👍 for the permanent-as-default and preview/temporary for single clicking in treeview only.
acontreras89 commentedon Jul 6, 2015
Is someone working on this? If not, I'd gladly take the challenge 😛
lee-dohm commentedon Jul 6, 2015
I don't see any open PRs attached @acontreras89. I'd say go for it 😀
acontreras89 commentedon Jul 8, 2015
👌 working on it, @lee-dohm
PCateNumbersUSA commentedon Aug 19, 2015
Would love to see this setting added as well.
adamreisnz commentedon Sep 8, 2015
@acontreras89 any luck?
acontreras89 commentedon Sep 8, 2015
I'm sorry @adambuczynski, I will try to come back to you as soon as possible
benogle commentedon Jan 27, 2016
This is fixed on master and the 1.5.x line which is in beta now. See atom/atom#9165 for more information.