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 is available in three editions: Professional, Community, and Edu. The Community and Edu editions are open-source projects and they are free, but they have fewer features. PyCharm Edu provides courses and helps you learn programming with Python.
The Python plugin, in its turn, has the full range of Jython support features (cross-language navigation, completion and refactoring). PyCharm only supports Jython as the runtime for running applications. If you're not using the Java/Python integration, PyCharm is a better place to start.
PyCharm is a dedicated Python Integrated Development Environment (IDE) providing a wide range of essential tools for Python developers, tightly integrated to create a convenient environment for productive Python, web, and data science development.
The PyCharm IDE is one of the most popular editors used by professional Python developers and programmers. The vast number of PyCharm features doesn't make this IDE difficult to use–just the opposite. Many of the features help make Pycharm a great Python IDE for beginners.
It appears to be a bug in PyCharm, I've reported it here, please vote.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With