tito wrote:https://twitter.com/#!/xubz/status/181829294807449600
tito wrote:Very frustrating this issue/feature, I need to close the editor many times in a day. Please do something.
Welcome back !!!
tito wrote:https://twitter.com/#!/xubz/status/181829294807449600
tito wrote:Very frustrating this issue/feature, I need to close the editor many times in a day. Please do something.
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
tito wrote:I considering quitting from this editor and community. This is the most disruptive behaviour I have seen in a software.
tito wrote:Sometimes the files that I right-click start loading and I can't use any function of my plugins because the file is locked by the editor.
tito wrote: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.
What functionality doesn't work for you while a file is being loaded, is it just delete and rename?
Users browsing this forum: jix and 8 guests