2

When I have imported the reagent.core library as reagent and I type (reagent/ I want to see all possible functions from that library I can use, preferably with documentation. Unfortunately I get only suggestions of text I already typed in that file:

not enough suggestions

I want to see something similar as this, only then for reagent.

enter image description here

I am using ac-cider and auto-complete packages with the following settings:

;; Auto-completion
(require 'ac-cider)    
(add-hook 'cider-mode-hook 'ac-flyspell-workaround)
(add-hook 'cider-mode-hook 'ac-cider-setup)
(add-hook 'cider-repl-mode-hook 'ac-cider-setup)

(require 'auto-complete)
(add-to-list 'ac-modes 'cider-mode)
(add-to-list 'ac-modes 'cider-repl-mode)

(defun set-auto-complete-as-completion-at-point-function ()
  (setq completion-at-point-functions '(auto-complete)))
(add-hook 'auto-complete-mode-hook 'set-auto-complete-as-completion-at-point-function)
(add-hook 'cider-mode-hook 'set-auto-complete-as-completion-at-point-function)

(defun clojure-auto-complete-hook ()
  (auto-complete-mode 1))

(add-hook 'clojure-mode-hook 'clojure-auto-complete-hook)

How can I see all possible functions to use from an external library when I type the imported name?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.