Uw opmerkingen

Thank you for your solution.It works.And I try another command,it works too.


import sublime
import sublime_plugin
import os

class NoPreview(sublime_plugin.EventListener):
    def on_load(self, view):
        if (os.path.exists(view.file_name())):
            view.window().open_file(view.file_name())
            # view.run_command('save')