How to coexist PyCharm and IntelliJ IDEA (Java)

Answered

I began using PyCharm (now 4.5) earlier this year. A couple of months ago, I began using IntelliJ IDEA 14 for Java development. I don't typically share projects between Java and Python, but in some of my Java projects, I need small Python scripts.

For now, I am using community editions for both.

I'm experiencing some confusion on these projects. Since I'm new to IntelliJ, I don't even know how to describe what's going on--things like IntelliJ IDEA asking me to configure for Python interpreter etc. I experimented unsuccessfully answering the questions (pop-ups) that came.

In particular, if I work in Java on a project that contains a Python script then drop IDEA to launch PyCharm, work on that script, then drop PyCharm and come back with IDEA, IDEA's nothing of SDK is messed up:

  Cannot start compiler: the SDK is not specified for module xyz.
  Specifiy the SDK at Project Structure dialog.

(The reason I do this is that I cannot run my Python script from IDEA. I've tried, but it works perfectly in PyCharm.)

There is a link in the upper right of IDEA I can click to indicate JDK 8 again which makes some of it work, but even after that I'll have to muck with the project or "un-IntelliJ" it then set it back up all over again for Java development. I'm sure I shouldn't have to keep my Python code separate from my Java code: I just don't know how to do this.

I would like to know whether I should use separate PyCharm and IntelliJ IDEA or should I expect to "merge" and do both with one.

4 comments
Comment actions Permalink

I actually called about this before purchasing. The attendent told me that using Intellij IDEA I would have all t
he access and tools that I would get from each product by itself in one. I am not sure if it is the same for the community edition but so far as long as I configure things correctly it all seems to work.

0
Comment actions Permalink

Thanks. Maybe it's a function of the purchased version? I'm planning on a purchase at some point, but waiting to see what my company will do. By being the forerunner, I'm the one to sort out all the problems. I'll have to demonstrate the value of IntelliJ (IDEA and/or PyCharm) to sway them one way or another.

My impression is that there is(are) Python plug-in(s) for IDEA, and that, if I persisted hard enough, I might figure it out (or ask here, which is what I'm doing), but PyCharm works so well that I'm loathe to stop using it until I've got Python sorted out for use in IDEA.

0
Comment actions Permalink

You need Python plug-in installed to open PyCharm projects in IDEA. This plug-in will work only with IDEA Ultimate.

0

Please sign in to leave a comment.