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 via fuzzy finder should not be temporary #164

Closed

Description

@brendanblackwood

This is more of an enhancement (possibly) than a bug. If "Use Preview Tabs" is enabled and I open a file via fuzzy finder and don't modify it or double click on the tab, it is a preview tab and will be replaced by the next file opened. I guess I'm used to this behavior coming from SublimeText, but that doesn't really make it "better". What would people think of adding an option for this behavior? Much like the single vs double click in #156

Activity

  1. adamreisnz commented on Jun 8, 2015

    @adamreisnz

    +1

    I actually think this is a bug. When using the fuzzy finder, the file should definitely remain open as it used to before, because you are most likely looking for a specific file to work in.

    In addition, if you're already pressing the keyboard commands to open the fuzzy finder, it's no bit detour to press CMD-W to close the window again if you don't want it after all. Whereas having to switch to your mouse to double click the tab to keep it open is just a hassle.

    This is particularly irritating when you want to open several files to work in using fuzzy finder.

  2. brendanblackwood commented on Jun 10, 2015

    @brendanblackwood
    Author

    Looking at the other tickets around this (#156, #170, #172), it's looking like it might be good to be able to specify which actions should open a preview and which should not. I like the preview functionality a lot, but for me, there are more cases where I don't want it than where I do.

  3. adamreisnz commented on Jun 10, 2015

    @adamreisnz

    Agree that being able to specify when preview tabs are triggered and when not would probably be the most flexible solution, allowing everyone to configure it as they like.

  4. bronson commented on Jul 20, 2015

    @bronson

    I'd like the tab to become permanent if I navigate in a file (not scrolling, but if I move the cursor even a single character). Without this, I find using preview tabs requires too much double-clicking to manually force a tab I'm interested in to stick around.

    (wonder if I could find some events that would allow me to write a package that does this...?)

  5. nlenkowski commented on Sep 18, 2015

    @nlenkowski

    This! I love tab previews in conjunction with the sidebar, it's nice to be able to preview lots of files quickly. However, opening multiple files in sequence from the fuzzy finder is a real pain with tab previews enabled. Each time I open a file I then have to double click its tab before opening the next, lest the tab be replaced by the next file opened.

  6. adamreisnz commented on Sep 18, 2015

    @adamreisnz

    However, opening multiple files in sequence from the fuzzy finder is a real pain with tab previews enabled. Each time I open a file I then have to double click its tab before opening the next, lest the tab be replaced by the next file opened.

    Yeah, it's becoming quite a pain, I forgot how it feels to be able to work without having to double click every other tab :P

    I was hoping this would get fixed as a part of the quality initiative, as it was listed as a todo item there, but unfortunately it seems to be quite low on the radar.

  7. nlenkowski commented on Sep 18, 2015

    @nlenkowski

    Yeah, I saw that was in the quality initiative, bummer it didn't get fixed yet. Hopefully it will be on deck soon.

  8. lodev09 commented on Sep 30, 2015

    @lodev09

    +10000

  9. ssorallen commented on Oct 7, 2015

    @ssorallen
    Contributor

    The notion of a "preview" view should be moved to the atom.workspace.open API so consumers like fuzzy-finder can opt out of the preview feature regardless of the setting. This is the same as the Sublime Text sublime.Window::open_file function, which uses the preview view only if the sublime.TRANSIENT flag is set. This would simplify integration with other packages as well, allowing them to open files as permanent or preview, instead of the 'tabs' package having to reach into the DOM of other packages like 'tree-view'.

  10. dbroadhurst commented on Nov 20, 2015

    @dbroadhurst

    +1 personally just like to see temporary files just coming from the tree selector since I'm generally just browsing

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

  12. adamreisnz commented on Jan 27, 2016

    @adamreisnz

    👍

  13. brendanblackwood commented on Jan 27, 2016

    @brendanblackwood
    Author

    Thanks guys! 👍

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