summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2018-02-15 22:58:17 +0100
committerJoel Klinghed <the_jk@spawned.biz>2018-02-15 22:58:40 +0100
commit2ca250f508f795fa786ea3b41f61a451a511a4a0 (patch)
tree3779911a9f01bf1e9ba0e3f716a4fb3379659aa8 /README
parent5ea5ec068a5cd7d4b1328b6c14a34d17ac69f69d (diff)
Add option for not running generate*Sources task before check
For large projects running generate*Sources can incur a heavy cost
Diffstat (limited to 'README')
-rw-r--r--README10
1 files changed, 10 insertions, 0 deletions
diff --git a/README b/README
index 5615a14..47fd9e2 100644
--- a/README
+++ b/README
@@ -62,6 +62,16 @@ That should be it.
(require 'flycheck-android-experimental)
(setq flycheck-android-java-variant "devArm7Debug"))))
+= If you have a large project the default of always running generate*Sources
+= before checking the file might slow things down, if so set skip-gen
+
+(add-to-list
+ 'java-mode-hook
+ '(lambda ()
+ (progn
+ (require 'flycheck-android-experimental)
+ (setq flycheck-android-java-skip-gen t))))
+
= If you use checkstyle, you can expand the java-mode-hook:
(add-to-list
'java-mode-hook