Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] python search support added


  hrm - it appears to work for 'type' declarations in but does not appear to work for method declarations.

class TestClass:
    def method(self):
        pass

c = TestClass()
c.method.im_func.whoami = 'my name is c'

  the search will find the TestClass if i use the 'type' search, but the 'method' isn't found on the 'method' search.

  parsing issue?

On Mon, Mar 10, 2008 at 7:42 AM, Andrei Sobolev <andrei.sobolev@xxxxxxxxx> wrote:
Hi Jae,
> hello all -
>
>   i've added searching support to the python plugin (done in tandem
> with support for my perl plugin), but it doesn't seem to work
> properly. the searches never seem to return any results.
It works fine for declarations. To add support of references some
additional work should be done.
Problem in your case could be in incorrect index state. You could remove
all index files from .metadata/.plugins/org.eclipse.dltk.core, and try
to search for declarations.

Best regards,
Andrei Sobolev.
>
>   i think the problem is being caused by the source files being
> incorrectly indexed, but i could be wrong.
>
> --
> -jae
> ------------------------------------------------------------------------
>
> _______________________________________________
> dltk-dev mailing list
> dltk-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dltk-dev
>

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev



--
-jae

Back to the top