Sublime Forum

Request to allow disabling of "Preview Tab/View"

#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

#26

Hey jon, What about :

"Hey Tito, I understand your frustration, I’m, thinking into “adding/not adding” this, I may can get something to solve your problem by “the end of year 2050/some weeks from now”.

??

The lack of responses into what I call a serious design flaw makes me thing to leave to some other editor.

I’ve spend a lot of time writing plugins for “your” editor, trying to help me/you/others people into having more needed features, you insist into putting time in features that package developers can build, I don’t understand your thinking.

0 Likes