From 12c4c4e987ba8150918304d500e6c260792e9154 Mon Sep 17 00:00:00 2001 From: Steven Rowe Date: Thu, 24 Feb 2011 13:02:44 +0000 Subject: [PATCH] LUCENE-2611: switched the code style file from a manually configured global style to an already-setup per-project code style; adjusted code style continuation indents; added groovy code style support. git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1074130 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 55 ++------------------ dev-tools/idea/.idea/projectCodeStyle.xml | 54 +++++++++++++++++++ dev-tools/idea/Intellij-Lucene-Codestyle.xml | 48 ----------------- 3 files changed, 57 insertions(+), 100 deletions(-) create mode 100644 dev-tools/idea/.idea/projectCodeStyle.xml delete mode 100644 dev-tools/idea/Intellij-Lucene-Codestyle.xml diff --git a/build.xml b/build.xml index 05d3df35af1..ca4a3105ff4 100644 --- a/build.xml +++ b/build.xml @@ -83,19 +83,9 @@ - - - - - - + - - - + Running Lucene contrib db/bdb-je task 'get-je-jar' ... @@ -105,57 +95,18 @@ - - - To install the Lucene/Solr codestyle file, copy - dev-tools\idea\Intellij-Lucene-Codestyle.xml to - ${env.HOMEDRIVE}${env.HOMEPATH}\.IntelliJIdeaXX\config\codestyles\ - where "XX" is "90" for IntelliJ 9.0.X, "10" for 10.0.X, etc. - After restarting IntelliJ, select "Lucene" - from the dropdown list at: - Settings | Code Style | Use global settings | Scheme name - To complete IntelliJ IDEA setup, you must manually configure Project Structure | Project | Project SDK. - - - To install the Lucene/Solr codestyle file, copy - dev-tools/idea/Intellij-Lucene-Codestyle.xml to - ~/Library/Preferences/IntelliJXX/codestyles/ - where "XX" is "90" for IntelliJ 9.0.X, "10" for 10.0.X, etc. - After restarting IntelliJ, select "Lucene" - from the dropdown list at: - Settings | Code Style | Use global settings | Scheme name - - To complete IntelliJ IDEA setup, you must manually configure - Project Structure | Project | Project SDK. - - - - - To install the Lucene/Solr codestyle file, copy - dev-tools/idea/Intellij-Lucene-Codestyle.xml to - ~/.IntelliJIdeaXX/config/codestyles/ - where "XX" is "90" for IntelliJ 9.0.X, "10" for 10.0.X, etc. - After restarting IntelliJ, select "Lucene" - from the dropdown list at: - Settings | Code Style | Use global settings | Scheme name - - To complete IntelliJ IDEA setup, you must manually configure - Project Structure | Project | Project SDK. - - - - diff --git a/dev-tools/idea/.idea/projectCodeStyle.xml b/dev-tools/idea/.idea/projectCodeStyle.xml new file mode 100644 index 00000000000..e6ba7b64af2 --- /dev/null +++ b/dev-tools/idea/.idea/projectCodeStyle.xml @@ -0,0 +1,54 @@ + + + + + + + diff --git a/dev-tools/idea/Intellij-Lucene-Codestyle.xml b/dev-tools/idea/Intellij-Lucene-Codestyle.xml deleted file mode 100644 index 279bf5346e0..00000000000 --- a/dev-tools/idea/Intellij-Lucene-Codestyle.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - -