[Geany] feature request: jumping to python module

Lex Trotman elextr at xxxxx
Fri Mar 26 01:33:55 UTC 2010


2010/3/26 Filip Gruszczyński <gruszczy at gmail.com>

> > This could be ideally done as a plugin so it won't disturb non-Python
> > people :).
>
> Any chance this plugin could be shipped together with Geany, so it
> wouldn't be necessary to build it independently?
>
> > Even better would be if someone would faster than me implementing it :).
>
> I'd love to say, that I am gonna do it, but I really don't fell
> competent enough.
>
>
Oh come now, all you are asking for is most of the Python parser, symbol
handling and name binding :-D

More seriously, maybe you could investigate some less powerful but simpler?
options.

1. Since the Python tagmanager currently parses imports, look at if you can
get it to load any existing local tag files for imported modules.  Then the
existing goto tag operations could be extended to open the source file if
its not open.

2. And then extend the goto tag operations to open files associated with
global tag files as well

The extensions for goto tag to open files should be language independent,
just open the source file that generated the symbol.

And the loading of imports is localised to the Python tagmanager so it won't
interfere with other languages even though it isn't a plugin.

Cheers
Lex

--
> Filip Gruszczyński
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20100326/b89b42a4/attachment.html>


More information about the Users mailing list