[IronPython] autocompletion (intellisense) for clr.AddReference
dasneutron at gmail.com
Fri Jan 7 22:02:07 CET 2011
thanks for the response.
> I have a feeling that getting autocompletion/intellisense for CLR libraries referenced that way is not a trivial task, though it's probably not impossible. What we ended up
> doing is writing a Python 'pretend' module for our CLR assembly and importing that, but doing trickery so that the names actually resolve to the CLR assembly at runtime,
> so the Python module is only used to assist in the autocompletion. If you want I can get the specific details on how you can 'trick' the IDE into looking at the Python script
> but actually reference the assembly.
Yes I would like to learn the "trick"
BTW: do you know the explanation for the behavior below?
> import System.Text as text
> text.<TAB> produces autocompletion list
> import System.Text
> System.Text.<TAB> does not
More information about the Ironpython-users