PyCharm & IronPython Codecompletion?

I have PyCharm 3.0 installed for Windows and installed IronPython 2.7.4 installed. But it appears that i am not able to get references and it wont recognize .net classes to some degree.

Let me give you a simple example:

import clr
clr.AddReference("System.Windows.Forms")

from System.Windows.Forms import MessageBox
MessageBox.Show("Hello World")

i can run/execute it perfectly fine but the IDE shows me that it cannot recognize System

As you can imagine this is somewhat... frustrating to put it mildly, pressing alt+enter and then Generate stubs for Binray Module XXXXX" and then pressing Fix all unresolved reference problems will not resolve it as i would like to be able to lookup class definitions for .net classes.

So if anyone has managed to get this to work I would appreciate the Insight. Yes i know that i can use IronPython in Python Tools for Visual Studio but i would like to be able to work in PyCharm aswell.

Just for reference this is what i get in Python Tools for visual studio and what i want to happen in PyCharm 在这里输入图像描述


这似乎是PyCharm中的一个错误,我已经在这里报道过,请投票。

链接地址: http://www.djcxy.com/p/76190.html

上一篇: 统一圆形LBP人脸识别实施

下一篇: PyCharm和IronPython Codecompletion?