summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlexander Yakushev <alex@bytopia.org>2017-02-21 12:27:15 +0200
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2017-03-07 15:36:57 +0200
commit34dca8a3ceca0e859d6e12d573ed84704d79aaa2 (patch)
treead9c1fef1751512fea30fc5dd7c5f129c7d37d7e /doc
parent52e69c102f2e6438196e223483a388115809bbc1 (diff)
Add interactive function to flush Compliment caches
Diffstat (limited to 'doc')
-rw-r--r--doc/code_completion.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/code_completion.md b/doc/code_completion.md
index e8496e1c..5973ea32 100644
--- a/doc/code_completion.md
+++ b/doc/code_completion.md
@@ -83,6 +83,14 @@ Completion annotations can be disabled by setting
![Completion Annotations](images/completion-annotations.png)
+### Updating stale classes and methods cache
+
+Sometimes, the completion fails to recognize new classes that came with
+dependencies that were loaded dynamically after the REPL has started (e.g. via
+Boot). Executing `M-x cider-completion-flush-caches` (or going through the menu
+`CIDER Interaction->Misc->Flush completion cache`) forces the completion backend
+to re-read all classes it can find on the classpath.
+
### Migrating from `auto-complete-mode`
In case you have some `auto-complete-mode` configuration lying around and you