Sublime Forum

Request to allow disabling of "Preview Tab/View"

#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

#25

I just got this error starting up sublime, no idea what caused it or why but it had a link to this post, requesting I comment so I have commented

Confused User

0 Likes