3

Has anyone got any experience adding system Python libraries to Codeintel's index? It's great for completion of project files, but it'll be nice if it can also pick up, for example, PIL methods and Google App Engine libraries.

Ahmed Nuaman
  • 12,662
  • 15
  • 55
  • 87

1 Answers1

0

Globally or on a per-project basis you can define additional directories to scan for code completion. See the Readme here.

Since you're talking about python stuff you would supply pythonExtraPaths array values in a settings file:

"Python3": {
    "python": '/usr/bin/python3',
    "pythonExtraPaths": []
}
tenken
  • 230
  • 4
  • 11
  • I've tried this but it didn't work. Hence why I'm asking if anyone has any proven methods. – Ahmed Nuaman Jan 09 '13 at 21:42
  • Hi Ahmed -- this is what mine looks like: { "Python": { "python": '/usr/bin/python', "pythonExtraPaths": ['/usr/lib/python2.7/'] } } and it seems to work! – antman Aug 14 '13 at 22:41