Cross platform problem with .ipr file - file types

Hello all,

I am using IDEA 7.0.3 on both Windows XP and Mac OS X 10.5.2. I have my project versioned with Subversion, .ipr file included. Normally, I would expect unless nobody actually makes a change to the settings, the .ipr file should not be touched. But it is.

Turns out, under Windows IDEA creates within the .ipr file, in element >component name="CodeStyleSettingsManager" an subelement ]]>. Under Mac OS, IDEA removes this element. Under Windows, it recreates it. So every time I open the ipr on the other platform, it gets modified.

Investigating, I found under "IDE Settings", "File Types" a category "JavaScript Files", but only on Windows. It is missing from my Mac IDEA.

The "JavaScript Files" appear to be build-in, because the get not exported via "Export Settings...".

Obviously I did something wrong. Can anybody please enlighten me?

Thank you very much,
Bernd.

2 comments
Comment actions Permalink

Hello abc42,

Hello all,

I am using IDEA 7.0.3 on both Windows XP and Mac OS X 10.5.2. I have
my project versioned with Subversion, .ipr file included. Normally, I
would expect unless nobody actually makes a change to the settings,
the .ipr file should not be touched. But it is.

Turns out, under Windows IDEA creates within the .ipr file, in element
>component name="CodeStyleSettingsManager" an subelement
<ADDITIONAL_INDENT_OPTIONS fileType="js">. Under Mac OS, IDEA removes
this element. Under Windows, it recreates it. So every time I open the
ipr on the other platform, it gets modified.

Investigating, I found under "IDE Settings", "File Types" a category
"JavaScript Files", but only on Windows. It is missing from my Mac
IDEA.

The "JavaScript Files" appear to be build-in, because the get not
exported via "Export Settings...".

Obviously I did something wrong. Can anybody please enlighten me?

Thank you very much,
Bernd.


I think Javascript support plugin is disabled on Mac and enabled on Windows.
You have to make the set of enabled plugins the same on both OS.

Alexander.


0
Comment actions Permalink

Alexander,

you are right, of course. Thank you very much. Seems I got lost in IDEA's multitude of settings...

Regards,
Bernd

0

Please sign in to leave a comment.