[wingide-users] Wing can't see function definition in same file?

Wingware Support support at wingware.com
Mon May 21 08:59:46 MDT 2012


Joshua J. Kugler wrote:
> So, I have a file with this (greatly simplified):
>
> def function1(some, params, here):
>      some_code
>
> def function2(some, other, params):
>      function1(my, params, here)
>
> When I am editing the call to function1, Wing says
>
> Symbol: function1
>   Cannot determine type
>
> But if I Ctrl-click on my call to function1, it takes me right to the
> function definition, so it knows what it is and where it is.  I've
> reanalyzed the file, and closed and open the file.
>
> What else can I try that could make it show the function definition?

It sounds like our analysis of the file is hosed for some reason.  Does 
it clear the problem if you right-click on the file and select 
"Reanalyze File"?  If not, is it a file you can send us try to try here?

Thanks,

-- 

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com


More information about the wingide-users mailing list