Import idea.exe.vmoptions

In order for the licence server to work I have to put proxy options in the idea.exe.vmoptions file.
I also have to change the default memory sizes as my projects are quite big.

Now everytime I get a new EAP I have to remember to go into the old dir and copy the file.
Can't the installer or first boot (when it asks you for existing installations) pick up any existing idea.exe.vmoptions files and ask if you want to use them instead of the deafults?

11 comments
Comment actions Permalink

+100

This would be great, it has been bugging me for years now! :) I'd like to
see the same for idea.properties too (I have a custom location for the .IntelliJIdea90
directory specified in it so the config/system directories doesn't end up
on our network drives and in my roaming profile).

Ideally niether the installer or the EAP zip file would contain idea.properties
or idea.exe.vmoptions. Then EAPs could just be installed or unzipped over
existing installations, and on startup idea.properties and/or idea.exe.vmoptions
would be created with suitable defaults if they didn't already exist. I imagine
it's easier to implement this for idea.properties than idea.exe.vmoptions
though.

Chris


o> In order for the licence server to work I have to put proxy options
o> in the idea.exe.vmoptions file. I also have to change the default
o> memory sizes as my projects are quite big.
o>
o> Now everytime I get a new EAP I have to remember to go into the old
o> dir and copy the file.
o>
o> Can't the installer or first boot (when it asks you for existing
o> installations) pick up any existing idea.exe.vmoptions files and ask
o> if you want to use them instead of the deafults?
o>
o> ---
o> Original message URL:
o> http://www.jetbrains.net/devnet/message/5254727#5254727


0
Comment actions Permalink

If an environment variable named IDEA_VM_OPTIONS is defined, IDEA will use the contents of the variable as the file name to load VM options from. You can then define your VM options somewhere outside your IDEA installation and set the variable accordingly, to force every build to use your VM options file instead of the bundled one.

Edit: there's also the IDEA_PROPERTIES variable to override the idea.properties file.

The above is true for Linux, I'm not sure about other platforms.

0
Comment actions Permalink

Whilst I think the above 2 are good solutions, I still think the installer should pick up the previous vmoptions as well if it exists.

0
Comment actions Permalink

+100

I have to edit the VM Options file and also the properties file (to put the .IntelliJIdea90 directory inside the IDEA directory, where the caches & plug-ins don't get on-access scanned by the company virus checker).

0
Comment actions Permalink

Guys, all IDEA developers acitivity is tracker-driven, i.e. the chances are low that non-submitted request is implemented.

Please create corresponding ticket and vote it up.

0
Comment actions Permalink

This is 22 months old, although it isn't too descriptive.
http://youtrack.jetbrains.net/issue/IDEA-44583

How do we vote in YouTrack?

0
Comment actions Permalink

Log in, and clink on the square with rounded corners having a number inside.

0
Comment actions Permalink

opticyclic wrote:

This is 22 months old, although it isn't too descriptive.
http://youtrack.jetbrains.net/issue/IDEA-44583

How do we vote in YouTrack?


The screenshot below shows how to vote the issue up:

youtrack-vote.png

You can see that there is just one vote at the moment and I assume that's the reason why the task has relatively low priority for now.

Regards, Denis

0
Comment actions Permalink

A colleague asked again about this.
http://youtrack.jetbrains.net/issue/IDEA-44583
Its been three years now :(

Any chance someone can take a look over a cup of tea on a Friday? :)
It doesn't sound too hard to fix, but I could be wildy underestimating!

0
Comment actions Permalink

My home directory is on a network drive at my current client.
I had modified the idea.properties to point to the local drive instead but forgot to check after updating to the latest EAP.

This morning I got a message from admin saying that my network storage was full! :O

Any chance of someone taking a look?

0
Comment actions Permalink

Realistically, is this only going to be fixed by a pull request now?


0

Please sign in to leave a comment.