Re: [Pydev-code] Has the analyze only open editors setting ever had a meaning?
Brought to you by:
fabioz
From: Andreas P. <an...@fr...> - 2014-09-29 10:26:38
|
Hi Fabio, On 2014-09-26 15:44, Fabio Zadrozny wrote: > On Fri, Sep 26, 2014 at 10:34 AM, Andreas Pakulat <an...@fr...> > wrote: > util.py has just 1 function definition 'mycoolfun' and main.py is empty. > After a fresh start of Eclipse I open main.py and type myc and > invoke code-completion. There's no entry for mycoolfunc. If I open util.py, > close it again and again invoke code-completion inside main.py the > entry for 'mycoolfunc' shows up. > > My assumption was that this is caused by the 'analyze-only-open-editors' > setting, but changing the setting from its default value did not > help. > > Humm... that sounds like you have disabled auto-build (project > build > automatically)... if that's the case, you have to invoke the build > manually for pydev to index those files (Ctrl+B)... or maybe something else > became wrong and the indexing became lost (if that's the case, a > manual fix would be going to the project properties > pydev-pythonpath > > force restore internal info -- and it should definitely be kept up to > date afterwards if auto build is turned on). Automatic project building is enabled, but indeed cleaning the project fixes the problem. At least until the next restart of Eclipse. It seems there's no rebuild happening immediately after starting Eclipse and hence the information for completion is not available. Andreas -- Andreas Pakulat sq...@fr... froglogic GmbH - Automated UI and Web Testing |