IntelliJ IDEA Tips

IntelliJ

Code Style

  1. Save rhq-idea-settings.jar to a local directory.
  2. Start IntelliJ.
  3. Select File>Import Settings, then select rhq-idea-settings.jar and click OK.
  4. Restart IntelliJ.
  5. Go to Settings>Code Style, select Use global settings, select Scheme name "RHQ", then click OK.

VM Options

Here's the idea.vmoptions file I use:

-Xss128K
-Xms250M
-Xmx500M
-XX:PermSize=100M
-XX:MaxPermSize=200M
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=60
-XX:+UseConcMarkSweepGC
-XX:+CMSIncrementalPacing
-Dsun.awt.keepWorkingSetOnMinimize=true 
-Didea.no.jdk.check=true

If you have lots of RAM, I'd set the max heap size even higher.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.