Skip to content
项目

关于

一组 nREPL 中间件,为 Clojure 编辑器提供定义查找、代码补全等常用功能。

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

CircleCI Coverage Clojars Project cljdoc badge Downloads

CIDER nREPL

A collection of nREPL middleware, originally designed to enhance CIDER. cider-nrepl is also used:

and other Clojure development tools based on nREPL.

If you're just a user trying to get started with CIDER, then you probably don't want to read this. You should follow the steps in CIDER's user manual instead.

[!TIP]

People who are new to nREPL might benefit from reading its user manual.

Documentation

Please refer to the documentation site for information on how to setup cider-nrepl or how to leverage its nREPL API.

Release policy

We're following SemVer (as much as one can be following it when the major version is 0). At this point bumps of the minor (second) version number are considered major releases and always include new features or significant changes to existing features. API compatibility between major releases is not a (big) concern (although we try to break the API rarely and only for a good reason).

The development cycle for the next major release starts immediately after the previous one has been shipped. Bugfix/point releases (if any) address only serious bugs and never contain new features.

Contributing

Issues

Report issues and suggest features and improvements on the GitHub issue tracker. Don't ask questions on the issue tracker - use the #cider channel on the Clojurians Slack instead.

Patches

Patches in any form are always welcome! GitHub pull requests are even better! :-)

Before submitting a patch or a pull request make sure all tests are passing and that your patch is in line with the contribution guidelines.

Local development

Local development tasks, like running the tests or locally installing cider-nrepl are offered by our Makefile. We recommend using it, since some aspects (e.g. the use of mranderson) can be intricate to newcomers.

These are its main tasks for local development:

# Run tests, using mranderson (slower but more realistic)
make test

# Run tests, without using mranderson (considerably faster)
make quick-test

# Install the project in your local ~/.m2 directory, as version 99.99
# (set PROJECT_VERSION to pick another one)
make install

# Runs clj-kondo, cljfmt and Eastwood (in that order, with fail-fast).
# Please try to run this before pushing commits.
make lint

# Regenerates our user manual.
# When you modify our middleware such that its schema changes, please reflect so in the `cider.nrepl` namespace
# and run:
make docs

Releasing to Clojars

The release process is scripted:

PROJECT_VERSION=X.Y.Z make release
git push origin master vX.Y.Z

This rolls the changelog, bumps the version in the docs, commits, tags and pushes; the CI takes it from there and deploys to Clojars. See the "Hacking on cider-nrepl" section of the manual for details.

Hall of Fame

Special credit goes to the following people for their contributions:

And a big thanks to all other contributors who have helped so far.

Let's also acknowledge some of the projects leveraged by cider-nrepl:

  • orchard - extracted from cider-nrepl, so that non-nREPL clients can leverage the generic tooling functionality (like inspect, apropos, var-info, etc
  • compliment - for Clojure code completion
  • clj-suitable - for ClojureScript code completion using runtime inspection
  • tools.namespace - for namespace reloading
  • clj-reload - for namespace reloading
  • cljfmt - for code formatting

License

Copyright © 2013-2026 Bozhidar Batsov

Distributed under the Eclipse Public License, the same as Clojure.

探索相关项目

加载中…