import sublime, sublimeplugin
sublime.runCommand('CurrentPathStatus')
class CurrentPathStatusCommand(sublimeplugin.Plugin):
def onActivated(self, view):
view.setStatus('currentPath', view.fileName() )
import sublime
import sublime_plugin
class CurrentPathStatusEvent(sublime_plugin.EventListener):
def on_activated(self, view):
view.set_status('currentPath', view.file_name())Return to Ideas and Feature Requests
Users browsing this forum: No registered users and 5 guests