Ⅰ. 插件描述
A collection of nREPL middleware originally designed to enhance Clojure editorsⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'clojure-emacs/cider-nrepl'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'clojure-emacs/cider-nrepl'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'clojure-emacs/cider-nrepl'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/clojure-emacs/cider-nrepl
Ⅳ. 文档说明
CIDER nREPL
A collection of nREPL
middleware originally designed to enhance
CIDER.
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 manual instead.
People who are new to nREPL might benefit from reading [its
manual](https://nrepl.org).
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
- Bugfix/point releases (if any) address only serious bugs and
- contain new features.
Note: Prior to cider-nrepl 0.18, CIDER and cider-nrepl releases
were always done in sync. As most editors started relying on cider-nrepl
this was eventually changed and now cider-nrepl releases happen on their
own schedule.
Contributing
Discussion
For questions, suggestions and support refer to our official mailing list
or the Freenode channel #clojure-emacs.
Please, don't report issues there, as this makes them harder to track.
Issues
Report issues and suggest features and improvements on the
GitHub issue tracker. Don't
ask questions on the issue tracker - the mailing list and the IRC
channel are the places for questions.
Patches
Patches under 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](.github/CONTRIBUTING.md).
Working with mranderson (inlining runtime dependencies)
[mranderson][] is used to
avoid classpath collisions.
To work with mranderson the first thing to do is:
lein do clean, inline-depsThis creates the munged local dependencies in target/srcdeps directory.
After that you can run your tests or your REPL with:
lein with-profile +plugin.mranderson/config repl
lein with-profile +plugin.mranderson/config testNote the + sign before the leiningen profile. For this leiningen
profile to work you need leiningen version 2.5.0+! If you want to
use mranderson while developing locally with the REPL the source has
to be modified in the target/srcdeps directory. When you want to
release locally:
lein with-profile plugin.mranderson/config installRelease to clojars:
lein with-profile plugin.mranderson/config deploy clojarsOr you can use the Makefile as:
make clean
make install
make deployHall of Fame
Special credit goes to the following people for their contributions:
- Gary Trakhman (@gtrak)
- Jeff Valk (@jeffvalk)
- Hugo Duncan (@hugoduncan)
- Michael Griffiths (@cichli)
- Artur Malabarba (@malabarba)
- Lars Andersen (@expez)
- Benedek Fazekas (@benedekfazekas)
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 (likeinspect,apropos,var-info, etc - [compliment][] - for Clojure code completion
- [clj-suitable][] - for ClojureScript code completion
- [suitable][] - for ClojureScript code completion using runtime inspection
- [tools.trace][] - for tracing
- [tools.namespace][] - for namespace reloading
- [cljfmt][] - for code formatting
License
Copyright © 2013-2020 Bozhidar Batsov
Distributed under the Eclipse Public License, the same as Clojure.