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

no intelisence for libraries

Nov 10, 2011 at 5:14 PM

Hi All,

I'm using IronPython 2.7.

Autocomplete does not find any libraries, such as urllib or urllib2. 

I tried "generate completion database", but nothing changed.

ideas ?

Nov 10, 2011 at 6:43 PM

The analysis won't be immediately available after running Generate Completion Database as it'll take a little while to run. Do you see a Microsoft.PythonTools.Analyzer process running?

If not then something may have gone wrong w/ the analysis. You can look in %LOCALAPPDATA%\Python Tools\CompletionDB and there should be an AnalysisLog.txt.  You can also look in 80659ab7-4d53-4e0c-8588-a766116cbd46 or FCC291AA-427C-498C-A4D7-4502D6449B8C subdirs and find a more detailed AnalysisLog.txt which would include the actual failure if there was one.  If you see any errors there could you post those back here?

In 1.1 we've made this more obvious in VS when this is still running so if that's the issue hopefully that'll be better soon.  We've also added a Tools->Python Tools->Diagnostic Info which will gather the AnalysisLog.txt's making this step a little easier.