Documentation overview: http://www.jetbrains.com/idea/documentation/documentation.html
Online Help: http://www.jetbrains.com/idea/webhelp
Reference card: http://www.jetbrains.com/idea/docs/IntelliJIDEA8_ReferenceCard.pdf
I start with a script containing the following
export IDEA_JDK="$JAVA_HOME" cd /my/webbed/jetbrains/idea-9164/bin IDEA_VM_OPTIONS=~/.idea_vmoptions export IDEA_VM_OPTIONS sh idea.sh
It seems to be necessary to run from the actual directory.
-Xmx1g -XX:MaxPermSize=512m -ea
The install of IDEA creates an enormous directory
~/.IntelliJIdea8x/system/ in my home directory. After
stepping through the install wizard, I exit, move this
directory to local disk and point to it with a symbolic link.
Many plugins are blamed for freezes and hangs. I select only the few that I know I want, and postpone installing any others.
File -> New Projectand select "Create Java project from existing sources."
$HOME/projectsbelow the directory containing all repositories of interest.
*.iml, then I unselect all directories at this point.
Again, if I plan to use existing module files
*.iml, then I
unselect all libraries at this point. This is easier if you
hit the "stop searching" button right away.
File -> Settings -> HTTP Proxy, if you have one. Also set
File -> Settings -> Web Browsers.
~/.IntelliJIdea8x/system/to another directory, with a symbolic link from the original location.
File -> Settings -> Updates -> Check nowand get the IDE update out of the way.
File -> Settings -> Generaland uncheck "Synchronize files on frame activation."
File -> New Module -> Create module from scratchand hit Next. Choose a name and path as before. It may only ask for your source path.
Select File -> Import existing module -> Select IDEA module (.iml) to import. At my office, many repositories provide these in the top directory.
You should now see new
files in your top level projects directory.
File -> Settings -> Editor -> Code Style -> Importsand under "General" click "Optimize imports on the fly" and "Add unambiguous imports on the fly."
File -> Settings -> Compiler -> Java Compilerand increase "Maximum heap size (MB)"
Run -> Edit Configurationsand set "VM parameters" to
File -> Settings -> Inspectionsand spend and hour deciding what warnings you want to see.
File -> Settings -> Editor -> Code Style -> Java -> Arrangement taband set the following rules for sorting code:
Bill Harlan, 2008-2009
Return to parent directory.