Jul 29, 2011 at 4:23 PM
Edited Jul 29, 2011 at 4:25 PM
Thank you very much for your response! I really appreciate what You are doing to develop python tools.
I have an example that we run on CPython 2.7 :
in my library in directory mylibrary/cmd we have a class
""" manage console commands"""
.... #long long class contents with many members
in the same directory we have a class:
from mylibrary.cmd import ConsoleContext
"""base class for console plugins"""
context = ConsoleContext() #We tried to put ConsoleContext() for intellisence to know what the type is
Then we create a derived class somewhere else (all python paths are correct):
from mylibrary.cmd import ConsolePluginBase
def process(self, args):
assert self.context != None
provider = self.context. #<- that is the point where intellisence don't know what to do
So at this point Intellisence doesn't know what self.context is.
Maybe we did some mistake (like it is hard for Intellisence to process from ... import...) and it is possible to have completion at this point?