Finally got around to writing this up ;)
Would be great to have a hierarchy plugin for, e.g., python files. Geany
has something like this that is organized as such:
Functions
Func 1
Func 2
Classes
Class 1
Methods
Method 1
Method 2
Geany's list is actually very strange though because it maps each item
(i.e. "Func 1") to a line number, and that line number only updates when
you save the file. So if you make changes to the file and click on "Func
1", it'll take you to where Func 1 was when the file was last saved.
Presumably it would be better to just search for the definition so that
it's always up-to-date.
For what it's worth, an alternative approach would be to have a right-click
menu item that takes you to the function. So if you have code like:
self.test = self.do_something_here()
you could right-click on do_something_here and choose "go to definition" or
something.
I actually don't know which path is best, I'd personally be happy with
either one. I might be able to code one of these up in 3 months or so, I'm
just really busy atm with thesis work. Keep up the good work :)
Yevgen Muntyan
Plugins
None
Public
|
Date: 2009-07-04 07:06 Ctags plugin does something similar. In any case, I won't be doing this any |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2009-07-04 07:06 | emuntyan |
| resolution_id | None | 2009-07-04 07:06 | emuntyan |
| allow_comments | 1 | 2009-07-04 07:06 | emuntyan |
| close_date | - | 2009-07-04 07:06 | emuntyan |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use