Search code examples
emacsclojureautocompletecider

Emacs + Cider: Show all autocomplete options without typing first letters


I'm trying to understand whether I'm not using cider properly or that's how it works and I have to get used to it.

Steps to reproduce:

Load the following ns/file/buffer into a running cider repl:

(ns app.domain)
(defn my-func [])

Switch to another ns via (in-ns 'app.foo) then start typing app.domain/ and it doesn't show any available options(I expect my-func autocompletion).

It shows my-func autocomplete option only after I type the first character - m.


Solution

  • That's what I've found:

    CIDER / Using CIDER / Code Completion

    When you press TAB or M-TAB you’ll get completion candidates in a dedicated buffer.

    In my case it was M-Tab(probably because of evil-mode?).