gedit-source-code-browser
gedit-source-code-browser copied to clipboard
A source code class and function browser plugin for Gedit 3.
No commit, no merge since 2018 despite many useful issue reports and desperately-needed PRs
I get this issue: (gedit:1807): libpeas-WARNING **: 08:11:31.808: The 'python' plugin loader has not been enabled
This plugin doesn't seem to be maintained anymore. I've fixed it up for gedit 40 on my fork. https://github.com/Supreeeme/gedit-source-code-browser
+ other ppl commits.
As of Ubuntu 13.10, gedit's plugin system uses python3. This patch updates sourcecodebrowser to work correctly.
The object model of gedit has obviously changed. In the file "plugin.py" you need to replace the code "document.get_location()" to "document.get_file().get_location()". Then it works again.
It seems that with the new version of gedit, this plugin does not work. The tab on the side-panel doesn't even appear. See the [debian bug report](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746430) for details.
Added `__all__` lists to: * `__init__.py` * `plugin.py` Why is this important? It makes python not include built-ins and librares.
SourceTree:load() has a TODO comment. Ideally it will use recursion.