Python plugin (2.1.1) and IDEA 8.1.3 problems

Hi there

I have just downloaded and installed the Python plugin.  Most of the project code is in Java with several Java modules, but I have a bunch of Python scripts as well. Hence my installing the plugin.

The plugin doesn't detect any of the modules as Python modules despite the presence of Python files.  Now I have tried to "force" the Python facet on some of these modules in Project Structure -> Modules, and while this does work (and I am able to specify the Python interpreter), it doesn't detect any of the .py files in the src directory and I don't get any of the syntax highlighting, code completion, etc.

Any idea what's up?  How have others got this to work?

- Manik

2 comments

Hello Manik,

Please make sure that the .py extension is mapped to the Python file type

in Settings | File Types.

Hi there

I have just downloaded and installed the Python plugin.  Most of the

project code is in Java with several Java modules, but I have a bunch

of Python scripts as well. Hence my installing the plugin.

The plugin doesn't detect any of the modules as Python modules despite

the presence of Python files.  Now I have tried to "force" the Python

facet on some of these modules in Project Structure -> Modules, and

while this does work (and I am able to specify the Python

interpreter), it doesn't detect any of the .py files in the src

directory and I don't get any of the syntax highlighting, code

completion, etc.

Any idea what's up?  How have others got this to work?

- Manik

---

Original message URL:

http://www.jetbrains.net/devnet/message/5248188#5248188

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.