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.

Files opened from external source should not be temporary #170

Closed

Description

@adamreisnz

See also #164

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.

Activity

  1. acontreras89 commented on Jun 10, 2015

    @acontreras89
    Contributor

    👍

  2. adamreisnz commented on Jun 14, 2015

    @adamreisnz
    Author

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

  3. thedaniel commented on Jun 15, 2015

    @thedaniel
    Contributor

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

  4. adamreisnz commented on Jun 15, 2015

    @adamreisnz
    Author

    Seems like a good idea in my opinion.

  5. acontreras89 commented on Jun 15, 2015

    @acontreras89
    Contributor

    sounds great 😄
    and it's likely to simplify some cases, like double-clicking in tree-view to open the file without preview mode.

  6. crazymykl commented on Jun 17, 2015

    @crazymykl

    @thedaniel: cmd-p should also make temporary tabs.

  7. kevinsawicki commented on Jun 17, 2015

    @kevinsawicki
    Contributor

    does that make sense?

    Yup, makes sense

  8. adamreisnz commented on Jun 17, 2015

    @adamreisnz
    Author

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

  9. crazymykl commented on Jun 17, 2015

    @crazymykl

    Doesn't hitting any key then backspace make it permanent already, no mousing needed?

    Since there are differences of opinion, a setting seems prudent.

  10. adamreisnz commented on Jun 17, 2015

    @adamreisnz
    Author

    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:

    • Files opened from external source: false
    • Files opened via tree view with single click: true
    • Files opened via tree view with double click: false
    • Files opened via fuzzy finder: false
  11. thomasjo commented on Jun 18, 2015

    @thomasjo
    Contributor

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

  12. alexrussell commented on Jul 6, 2015

    @alexrussell

    👍 for the permanent-as-default and preview/temporary for single clicking in treeview only.

  13. acontreras89 commented on Jul 6, 2015

    @acontreras89
    Contributor

    Is someone working on this? If not, I'd gladly take the challenge 😛

  14. lee-dohm commented on Jul 6, 2015

    @lee-dohm
    Contributor

    I don't see any open PRs attached @acontreras89. I'd say go for it 😀

  15. acontreras89 commented on Jul 8, 2015

    @acontreras89
    Contributor

    👌 working on it, @lee-dohm

  16. PCateNumbersUSA commented on Aug 19, 2015

    @PCateNumbersUSA

    Would love to see this setting added as well.

  17. adamreisnz commented on Sep 8, 2015

    @adamreisnz
    Author

    @acontreras89 any luck?

  18. acontreras89 commented on Sep 8, 2015

    @acontreras89
    Contributor

    I'm sorry @adambuczynski, I will try to come back to you as soon as possible

  19. benogle commented on Jan 27, 2016

    @benogle
    Contributor

    This is fixed on master and the 1.5.x line which is in beta now. See atom/atom#9165 for more information.

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