lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Trivial Update of "HowtoConfigureIntelliJ" by ErickErickson
Date Fri, 08 Jul 2011 13:26:26 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:
http://wiki.apache.org/lucene-java/HowtoConfigureIntelliJ?action=diff&rev1=14&rev2=15

Comment:
Updated as per Rowe to reflect that "ant idea" installs codestyle for you.

  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: ([[http://people.apache.org/~erick/Intellij-Lucene-Codestyle.xml|Intellij-Lucene-Codestyle.xml]])
+ If you use the "ant idea" target, the correct code style file will be automatically installed.
But if you simply '''must''' do this yourself, use the link below. You'll have to change the
file a bit for it to show up in your drop-down...
  
- 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.
+ The IntelliJ anonymous code style file is here: ([[http://people.apache.org/~erick/Intellij-Lucene-Codestyle.xml|Intellij-Lucene-Codestyle.xml]])
  

Mime
View raw message