From 0c86e57c44a8e43f69591b784f4e5d842a9a0ea3 Mon Sep 17 00:00:00 2001 From: Jiayu Liu Date: Mon, 6 Jun 2016 16:26:21 +0800 Subject: [PATCH 1/7] renaming --- configs/codestyles/{Square.xml => Mada.xml} | 10 +++++----- .../codestyles/{SquareAndroid.xml => MadaAndroid.xml} | 4 ++-- configs/inspection/{Square.xml => Mada.xml} | 2 +- install.bat | 6 +++--- install.sh | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) rename configs/codestyles/{Square.xml => Mada.xml} (98%) rename configs/codestyles/{SquareAndroid.xml => MadaAndroid.xml} (99%) rename configs/inspection/{Square.xml => Mada.xml} (88%) diff --git a/configs/codestyles/Square.xml b/configs/codestyles/Mada.xml similarity index 98% rename from configs/codestyles/Square.xml rename to configs/codestyles/Mada.xml index 0d5bd27..481d0fa 100644 --- a/configs/codestyles/Square.xml +++ b/configs/codestyles/Mada.xml @@ -1,11 +1,11 @@ - + - \ No newline at end of file + diff --git a/configs/codestyles/SquareAndroid.xml b/configs/codestyles/MadaAndroid.xml similarity index 99% rename from configs/codestyles/SquareAndroid.xml rename to configs/codestyles/MadaAndroid.xml index 9601db8..04c9641 100644 --- a/configs/codestyles/SquareAndroid.xml +++ b/configs/codestyles/MadaAndroid.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file + diff --git a/configs/inspection/Square.xml b/configs/inspection/Mada.xml similarity index 88% rename from configs/inspection/Square.xml rename to configs/inspection/Mada.xml index 361afca..bd76814 100644 --- a/configs/inspection/Square.xml +++ b/configs/inspection/Mada.xml @@ -1,6 +1,6 @@ - diff --git a/install.bat b/install.bat index a2b416c..6a2d7a5 100644 --- a/install.bat +++ b/install.bat @@ -1,6 +1,6 @@ -REM Installs Square's IntelliJ configs into your user configs. +REM Installs Mada's IntelliJ configs into your user configs. @echo off -echo Installing Square IntelliJ configs... +echo Installing Mada IntelliJ configs... setlocal enableDelayedExpansion @@ -9,7 +9,7 @@ for /D %%i in (%userprofile%\.IdeaIC*) do call :copy_config %%i for /D %%i in (%userprofile%\.IntelliJIdea*) do call :copy_config %%i echo. -echo Restart IntelliJ and/or AndroidStudio, go to preferences, and apply 'Square' or 'SquareAndroid'. +echo Restart IntelliJ and/or AndroidStudio, go to preferences, and apply 'Mada' or 'MadaAndroid'. exit /b REM sub function for copy config files diff --git a/install.sh b/install.sh index aacb8e9..e6516a4 100755 --- a/install.sh +++ b/install.sh @@ -26,4 +26,4 @@ done echo "Done." echo "" -echo "Restart IntelliJ and/or AndroidStudio, go to preferences, and apply 'Square' or 'SquareAndroid'." +echo "Restart IntelliJ and/or AndroidStudio, go to preferences, and apply 'Mada' or 'MadaAndroid'." From 104d1e81a431811ad348c677bd69916692c09e03 Mon Sep 17 00:00:00 2001 From: Jiayu Liu Date: Mon, 6 Jun 2016 16:33:47 +0800 Subject: [PATCH 2/7] java indentation to 4 --- README.md | 2 +- configs/codestyles/Mada.xml | 4 ++-- install.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9ad7c0e..e3d28d5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Java Code Styles ================ -IntelliJ IDEA code style settings for Square's Java and Android projects. +IntelliJ IDEA code style settings for Mada's Java and Android projects. Installation diff --git a/configs/codestyles/Mada.xml b/configs/codestyles/Mada.xml index 481d0fa..9587056 100644 --- a/configs/codestyles/Mada.xml +++ b/configs/codestyles/Mada.xml @@ -188,9 +188,9 @@