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] Update of "HowtoConfigureIntelliJ" by DavidSmiley
Date Mon, 02 Jul 2012 16:06:18 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 DavidSmiley:
http://wiki.apache.org/lucene-java/HowtoConfigureIntelliJ?action=diff&rev1=21&rev2=22

Comment:
An alternative using symbolic links

  
  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. <!>
  
+ An alternative approach to use symbolic links instead of copying the IntelliJ files is to
run the following on a Unix/Linux based OS:
+ {{{
+ ln -s dev-tools/idea/.idea; (cd dev-tools/idea/; find . -name '*.iml' -exec ln {} ../../{}
\; )
+ }}}
+ The great thing about this is that when the IntelliJ files get updated, you get those changes.
 You may need to remember to tell IntelliJ to ignore changes to dev-tools/idea, and you still
may want to re-sync just your .iml files from time to time.
+ 
  === Code Style ===
  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...
  

Mime
View raw message