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.
My ~/.idea_vmoptions
contains
-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 Project
and select "Create Java project
from existing sources."
$HOME/projects
below 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 now
and get
the IDE update out of the way.
File -> Settings ->
General
and uncheck "Synchronize files on frame activation."
File ->
New Module -> Create module from scratch
and 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 projects.iws
and projects.ipr
files in your top level projects directory.
File -> Settings -> Editor -> Code Style -> Imports
and under "General" click "Optimize imports on the fly" and
"Add unambiguous imports on the fly."
File -> Settings -> Compiler -> Java Compiler
and increase "Maximum heap size (MB)"
Run -> Edit Configurations
and
set "VM parameters" to -ea -Xmx600m
.
File -> Settings -> Inspections
and spend and hour deciding what warnings you want to see.
File -> Settings -> Editor -> Code Style -> Java -> Arrangement tab
and set the following rules for sorting code:
Bill Harlan, 2008-2009
Return to parent directory.