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.
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.
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]
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.
I considering quitting from this editor and community. This is the most disruptive behaviour I have seen in a software.
What functionality doesnāt work for you while a file is being loaded, is it just delete and rename?
[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.
I think tito just wants an option to disable it. Seems reasonable ā any user-facing feature should be toggle-able, IMO.
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.
FWIW, hereās another formal request to make the sidebarās preview-on-click functionality optional.
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.
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 ā¦
[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:
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.
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
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.
[quote=ātitoā]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ā.
[/quote]
I have to agree, some sort of update in this thread about whatās being done to address this, even if the answer is ānothing, go awayā would be appreciated
I also agree here, your bug is making me use vim more and more, which is what I moved away from to Sublime and I was really hoping Sublime would be a replacement for it.
For what itās worth, when I accidentally click on a file in the sidebar and the preview appears, I simply hit Command-W (āClose Fileā) and the preview closes, returning me to the tab I was looking at. This is on Mac-- I can only assume it works the same way on Windows?