1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
name = "Python Symbol Browser"
authors = ["Lateef Alabi-Oki <mystilleef@gmail.com>"]
languages = ["python"]
version = 0.1
autoload = True
class_name = "SymbolBrowserPlugin"
short_description = "Show symbols in python source code."
long_description = """This plugin allows users to view all symbols in
python source code and navigate to them easily. Press F5 to show the
symbol browser."""
class SymbolBrowserPlugin(object):
def __init__(self, editor):
self.__editor = editor
self.__trigger = None
def load(self):
from PythonSymbolBrowser.Trigger import Trigger
self.__trigger = Trigger(self.__editor)
return
def unload(self):
self.__trigger.destroy()
return
|