From 6b1b514ca3424c08301325f99608510130365cd1 Mon Sep 17 00:00:00 2001 From: mopemope Date: Wed, 1 Feb 2017 00:39:15 +0900 Subject: [PATCH] Update doc --- README.md | 6 ++++-- RELEASES.md | 15 ++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 97c21c7..9eac443 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Install meghanada from melpa. (lambda () ;; meghanada-mode on (meghanada-mode t) - (add-hook 'before-save-hook 'delete-trailing-whitespace))) + (add-hook 'before-save-hook 'meghanada-code-beautify-before-save))) ``` ### Meghanada-Server @@ -174,6 +174,9 @@ Goto declaration. Go back from declaration position. +### meghanada-code-beautify + +Format buffer code. ## Troubleshooting @@ -181,7 +184,6 @@ See `*meghanada-server-log*` buffer. ## TODO -* Reformat source (IntelliJ Rule) * Refactoring ## License diff --git a/RELEASES.md b/RELEASES.md index 5628f1f..2559bc8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,8 +1,21 @@ -# Version 0.5.0 (2017-01-XX) +# Version 0.5.0 (2017-01-31) ## Highlights * Add code beautify (meghanada-code-beautify-before-save) +* Improve incremental build. +* Fix method reference bugs. + +### Code Fomatter + +Meghanada uses eclipse code formatter. + +Formatter rule file is `meghanadaFormatter.properties`. +`meghanadaFormatter.properties` location should be project root. + +Rule detail see below url. + +http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.jdt.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fjdt%2Fcore%2Fformatter%2Fpackage-summary.html # Version 0.4.0 (2017-01-25)