You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2016/06/27 03:35:04 UTC

kylin git commit: update how to set dev env

Repository: kylin
Updated Branches:
  refs/heads/document a8734990f -> 6a572109c


update how to set dev env


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/6a572109
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/6a572109
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/6a572109

Branch: refs/heads/document
Commit: 6a572109cb2517187d35875ef29aac479342f9a7
Parents: a873499
Author: Hongbin Ma <ma...@apache.org>
Authored: Mon Jun 27 11:34:41 2016 +0800
Committer: Hongbin Ma <ma...@apache.org>
Committed: Mon Jun 27 11:34:48 2016 +0800

----------------------------------------------------------------------
 website/_dev/dev_env.md                         |   8 ++++----
 .../develop/eclipse_code_formatter_config.png   | Bin 121789 -> 425823 bytes
 .../develop/kylin-intellij-code-style.png       | Bin 0 -> 339293 bytes
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/6a572109/website/_dev/dev_env.md
----------------------------------------------------------------------
diff --git a/website/_dev/dev_env.md b/website/_dev/dev_env.md
index c1ae69d..d6431e4 100644
--- a/website/_dev/dev_env.md
+++ b/website/_dev/dev_env.md
@@ -118,12 +118,12 @@ For Eclipse users, just format the code before committing the code.
 
 For intellij IDEA users, you have to do a few more steps:
 
-1. Install "Eclipse Code Formatter" and configure it as follows:
+1. Install "Eclipse Code Formatter" and use "org.eclipse.jdt.core.prefs" and "org.eclipse.jdt.ui.prefs" in core-common/.settings to configure "Eclipse Java Formatter config file" and "Import order"
 
 	![Eclipse_Code_Formatter_Config](/images/develop/eclipse_code_formatter_config.png)
 
-2. Disable intellij IDEA's "Optimize imports on the fly"
+2. Go to Preference => Code Style => Java, set "Scheme" to Default, and set both "Class count to use import with '\*'" and "Names count to use static import with '\*'" to 99.
 
-	![Disable_Optimize_On_The_Fly](/images/develop/disable_import_on_the_fly.png)
+	![Kylin_Intellj_Code_Style](/images/develop/kylin-intellij-code-style.png)
 
-3. Format the code before committing the code.
\ No newline at end of file
+3. Format the code before committing the code.

http://git-wip-us.apache.org/repos/asf/kylin/blob/6a572109/website/images/develop/eclipse_code_formatter_config.png
----------------------------------------------------------------------
diff --git a/website/images/develop/eclipse_code_formatter_config.png b/website/images/develop/eclipse_code_formatter_config.png
index 32d8952..ccddba0 100644
Binary files a/website/images/develop/eclipse_code_formatter_config.png and b/website/images/develop/eclipse_code_formatter_config.png differ

http://git-wip-us.apache.org/repos/asf/kylin/blob/6a572109/website/images/develop/kylin-intellij-code-style.png
----------------------------------------------------------------------
diff --git a/website/images/develop/kylin-intellij-code-style.png b/website/images/develop/kylin-intellij-code-style.png
new file mode 100644
index 0000000..2b54472
Binary files /dev/null and b/website/images/develop/kylin-intellij-code-style.png differ