This project has moved and is read-only. For the latest updates, please go here.

No intellisense on 3rd party packages (django)

Dec 24, 2011 at 7:48 PM

I have Django installed and working - python sees it and my app works just fine.  It's registered in the C:\Program Files (x86)\Python27\Lib\site-packages using a .pth file.  But, PTVS (1.1 beta1) does not provide any intellisense for any of the django classes.  I have also tried setting the search path inside the project.  The contents of C:\Users\<user>\AppData\Local\Python Tools\CompletionDB\2af0f10d-7135-4994-9156-5d01c9c11b7e\2.7 does not contain any of the django classes and the AnalysisLog.txt log shows no errors.  According to work item 23 and work item 160, PTVS should be picking up this package but it seems to be ignoring it completely.

I finally had to just copy the entire django source tree into my  C:\Program Files (x86)\Python27\Lib\site-packages folder.  Then "Generate Completion Database" picked up the classes and all works as it should.

Dec 26, 2011 at 10:47 PM

This does not happen for pyGTK package either.

Jan 3, 2012 at 9:54 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Jan 3, 2012 at 9:55 PM

I've opened an issue to track this -

Jan 3, 2012 at 11:27 PM

I've checked the fix for this in -

Jan 20, 2012 at 8:21 PM

I see the same behavior with wxPython, but only on my computer at work. At home Visual Studio Professional and PTVS 1.1 has no problem offering intellisense for wxPython.