Reputation: 8038
I've recently started working on a project that uses a mix of javascript and java code. We're using the community edition of IDEA for the java code and Webstorm for the javascript.
This would be fine except for the fact that they share the same .iml files and as a result end up interacting horribly with each other! Is there any way to stop this?
Upvotes: 1
Views: 1775
Reputation: 165148
There are few things you could do:
Upgrade to IntelliJ IDEA Ultimate (paid product) which supports all these languages.
Separate JavaScript and Java code in different projects. Two options here:
a) Keep both projects in different folders (subfolders) so that *.iml and other config files do not intersect and do not interfere with each other.
b) Keep actual code as you have it now, but store project config files (.idea
subfolder) separately -- just follow steps exactly as described in WI-343 ticket body (create empty project elsewhere; remove default content root; add desired content root).
Upvotes: 2