[Pydev-code] Add 'global functions' to PyDev analyzer
Brought to you by:
fabioz
From: Andreas P. <an...@fr...> - 2013-07-19 15:39:10
|
Hi, I'm currently working on improving our usage of PyDev, in particular starting to let PyDev not only syntax highlight but also analyze the code our users write. Unfortunately this has one drawback, we use a custom interpreter and add several global functions to it (this is done by having a module for these functions and then importing everything from this module by default into the global namespace). I know about the setting for the PyDev analyzer to not show errors on certain undefined functions/variables, but the number of functions makes this single lineedit/preference pretty cumbersome to extend. I'm wondering wether there's a different way (via code maybe?) to teach PyDev about a list of functions it should consider to be 'predefined', similar to the builtin modules? I'm currently using PyDev 2.6, but could upgrade to 2.7.5 if that makes it easier to achieve what I want. Andreas -- Andreas Pakulat sq...@fr... froglogic GmbH - Automated UI and Web Testing |