lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Lucene-java Wiki] Update of "HowtoConfigureIntelliJ" by ErickErickson
Date Fri, 08 Jul 2011 12:36:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "HowtoConfigureIntelliJ" page has been changed by ErickErickson:

Adding code style instructions.

   1. A JUnit test run/debug configuration defined for each module's tests, including the
runtime directory and required JVM parameters.  All tests run and pass.  IntelliJ allows more
than one of these to run simultaneously, so you can gain some test parallelism by starting
up more than one at a time.
   1. Ant integration: from the "Run" menu, you can invoke any Ant task defined in any module's
build.xml file.
- After '''`ant idea`''' runs, it will print out instructions on how to configure the project
+ After '''`ant idea`''' runs, it will print out instructions on how to configure the project
SDK, currently this consists of setting the JDK level.
  Running '''`ant clean-idea`''' from the command line removes all IntelliJ configuration
files.  If you already have an existing configuration, but want to replace it with the one
provided by '''`ant idea`''', it's a good idea to run '''`ant clean-idea`''' first.  <!>
'''WARNING''': IntelliJ apparently uses the `.idea/` directory, which is removed by '''`ant
clean-idea`''', to store shelved changes - do not run '''`ant clean-idea`''' if you have shelved
any changes. <!>
+ === Code Style ===
+ Please use the Lucene code style file here: 
+ To install this, find your "codestyles" directory in your IntelliJ preferences. On a Mac,
it's under ~/Library/Preferences/IntelliJIdea10CE/codestyles. Put the above file in this directory
and start IntelliJ. Under Project Settings>>code style>>general there's a box
labeled "scheme name", that probably reads "default" (Note, NOT the "module settings", but
"project settings", the little wrench icon up in the icon menu bar). The drop-down should
have "lucene" in it, simply choose that one and you're all set.

View raw message