Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 723 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 723 Bytes

Clojure-complete is an symbol completion library for Clojure. The code is adapted from jochu/swank-clojure.

Examples

(use 'complete.core)

(completions "al" 'clojure.core)
=> ("alength" "alias" "all-ns" "alter" "alter-meta!" "alter-var-root")

(completions "jio/make" 'clojure.core)
=> ("jio/make-input-stream" "jio/make-output-stream" "jio/make-parents" "jio/make-reader" "jio/make-writer")

(completions "clojure.core")
=> ("clojure.core" "clojure.core.protocols" "clojure.core.ArrayChunk" "clojure.core.ArrayManager" "clojure.core.IVecImpl" "clojure.core.Vec" "clojure.core.VecNode" "clojure.core.VecSeq" "clojure.core.protocols.InternalReduce")