Re: [Pydev-code] Autoremove of the unused imports.
Brought to you by:
fabioz
From: Kenneth L. <ke...@lo...> - 2011-12-08 21:28:42
|
On Thu, Dec 8, 2011 at 12:37 PM, Fabio Zadrozny <fa...@gm...> wrote: > On Thu, Dec 8, 2011 at 11:29 AM, Kenneth Loafman <ke...@lo...> > wrote: > > I believe it's probably due to the fact that PyDev still marks an import > > unused even when it is used. Autoremove would probably end up breaking > > coded that was working. > > What's the use-case where you have this? (it seems to work properly > for me) -- note that I answered the original question on another > e-mail explaining how to make sure that annotations are up to date. The use-case is the Django settings module invoked by: from django.conf import settings This invariably comes up as missing even though it's used. I've been able to resolve most missing import issues by: 1) Window >> Preferences >> Interpreter-Python >> Apply 2) Project >> Properties >> PyDev-PYTHONPATH >> Force restore internal info but settings remains elusive. It refuses to cooperate. ...Thanks, ...Ken |