def on_post_save(self, view):
"""Reload FileManager
To use this, you need to have this plugin:
https://github.com/math2001/sublime-plugin-reloader"""
if not (os.path.dirname(__file__) in view.file_name() and
view.file_name().endswith('.py')):
return
sublime.run_command('reload_plugin', {
'main': __file__,
'folders': ["FMcommands"],
'scripts': ["input_for_path", "sublimefunctions",
"pathhelper"],
})
评论列表
文章目录