Fork me on GitHub

Hello, a new and "deeper" question about Cursive. I like to use and its defn-spec macro. In a namespace, I have two functions:

(defn-spec start-server ::aleph-webserver
  [config ::config]

(defn stop-server [server]
  (.close server))
In another namespace the text completion gives me stop-server but not start-server . The completion works well in emacs though. The mechanism for code "understanding" seems different. Does Cursive use nrepl for that or does it use an internal mechanism? Thanks


do you have a hint for using cursive with macro usetime ? ( Usage is

  (defn foo [])


Do you mean so that it will recognise the defn inside it? You could resolve it as clojure.core/do, I think that should do it.