Sublime Forum

Request to allow disabling of "Preview Tab/View"

#5

Just wanted to add my support for the ability to disable the preview feature. It makes working with several tabs open at once very difficult as you lose the focus of the current tab when the preview launches and then have to relocate that tab after clicking back from the preview.

0 Likes

#6

I believe a temporary work is around is to press Ctrl-Tab which (seems to…) revert to the previous view/ last active tab.

Rather than disabling the preview, perhaps it’s possible to persuade (single-)clicking a file in the sidebar to cause it to open? But perhaps someone’s already achieved this somewhere :question:

0 Likes

#7

I’m interested in disabling preview too.

My issue is that I’m dealing with a very large code base sometimes with some very large files. I love the quick open, but I only need it to search through paths, showing me the file contents with every key press seems so strain it. I get some poor and laggy performance with sublime text 2 when opening up new files this way. Any ideas on how to combat this?

0 Likes

#8

twitter.com/#!/xubz/status/181829294807449600

0 Likes

#9

Would like to be able to disable preview. I find it intrusive most of the time.

0 Likes

#10

Very frustrating this issue/feature, I need to close the editor many times in a day. Please do something.

JUSt allow to disable the preview when clicking a file in sidebar. That would be enough.

0 Likes

#11

Welcome back !!! :wink:

0 Likes

#12

Would something like this work for you?

[code]import sublime
import sublime_plugin

class ClosePreview(sublime_plugin.EventListener):
def init(self):
super(sublime_plugin.EventListener, ClosePreview).init(self)
self.last_activated = None

def on_load(self, view):
    if self.last_activated != None and view.file_name() != self.last_activated:
        sublime.active_window().open_file(self.last_activated)

def on_activated(self, view):
    fn = view.file_name()
    if fn != None:
        self.last_activated = fn

def on_close(self, view):
    if view.file_name() == self.last_activated:
        self.last_activated = None

[/code]

0 Likes

#13

Thank you very much for trying, but this is not working.

We need from jon to Please remove the preview caused from clicks on sidebar tree, both from left and right clicks.

0 Likes

#14

I considering quitting from this editor and community. This is the most disruptive behaviour I have seen in a software.

0 Likes

#15

:frowning: don’t leave… we’ll miss you

0 Likes

#16

What functionality doesn’t work for you while a file is being loaded, is it just delete and rename?

0 Likes

#17

[quote=“tito”]Thank you very much for trying, but this is not working.

We need from jon to Please remove the preview caused from clicks on sidebar tree, both from left and right clicks.[/quote]

I don’t want the preview to be disabled !!! It’s a great feature, maybe disturbing at first but very useful after.

Maybe I’m the only one here, but I don’t need (and don’t want) my text editor to be a file manager (my OS as already one) or a complete version control manager.
IMHO, you try to use sidebar for something that it was not intended for.

0 Likes

#18

I think tito just wants an option to disable it. Seems reasonable – any user-facing feature should be toggle-able, IMO.

0 Likes

#19

Yes, just an option to disable it. The ability to disable the feature from the clicks on sidebar would be enough.

I can’t delete/rename or use git/hg/svn or any other useful function provided by a package while a file is loading. This is expected behaviour if were opening the file. But I never opened the file. I clicked or selected it.
Think of right click revert/checkout to/cut/paste. CTRL+ Click, click, click cut/paste. This is not possible with some files at the moment.

The other unacceptable problem of this feature is that makes me lose focus of the current tab on every click.

0 Likes

#20

FWIW, here’s another formal request to make the sidebar’s preview-on-click functionality optional.

0 Likes

#21

I’d like to either have a disable for this, or an option to delay it while using the “Goto Anything” panel. When typing a search it loads many unnecessary file previews before the final result, which causes seconds of lag on my macbook (core2 2.53), interrupting workflow.

0 Likes

#22

forum.valorsolo.com/viewtopic.ph … &view=next

… The only thing bugging me with the sidebar is if you click/right click an item it shows the files contents, this can be handy but I find it really annoying when I just want to right click and pick copy tag because I then have to go and click on the tab again…still looking for a way to turn that off …

0 Likes

#23

[quote=“tito”]http://forum.valorsolo.com/viewtopic.php?f=20&t=364&view=next

… The only thing bugging me with the sidebar is if you click/right click an item it shows the files contents, this can be handy but I find it really annoying when I just want to right click and pick copy tag because I then have to go and click on the tab again…still looking for a way to turn that off …[/quote]

To be fair, if you add the preceding sentence, it change the context:

0 Likes

#24

The problem is clearly “the sidebar”, there is also a mention with “single click” which has nothing to do with the mentioned package. the preceding text does adds nothing.

0 Likes