     :else (when-let [repl (.getCorrespondingREPL editor)]
             (let [safe-connection (.getSafeToolingConnection repl)
                   code (complete-command current-namespace prefix false)
-                  response (first (send-code safe-connection code 1000))]
+                  response (first (common/send-code safe-connection code :timeout 1000))]
               response))))
 
 (defmethod find-suggestions "complete"

                (str " - " type))
            filter
            (context-info-data completion (+ prefix-offset (count completion)) metadata)
            (delay (doc/var-doc-info-html (find-var-metadata ns editor completion))))))))) ;; todo remove metadata

(def activation-characters
  "Characters which will trigger auto-completion"

                                "(clojure.core/the-ns '%s) '%s))")
                       current-namespace
                       var)
          response (first (common/send-code safe-connection code :timeout 1000))]
      response)))

(defmethod find-var-metadata "info"
