File: README.md

package info (click to toggle)
complete-clojure 0.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 136 kB
  • sloc: xml: 65; makefile: 29; sh: 1
file content (19 lines) | stat: -rw-r--r-- 781 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Clojure-complete is an symbol completion library for Clojure. The code is adapted from
[jochu/swank-clojure](http://github.com/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")

## Running Tests

    lein with-profile 1.2:1.3:1.4 test