| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
It's based entirely on completing-read, which means it would look
nice with various minibuffer completion systems.
Down the road it'd be nice to do something like the ns browser
for the cheatsheet as well.
|
|
|
|
|
|
| |
Previously in such cases we'd get a `do` expression without a body, which isn't
be nice. Now we generate the config expression only after checking it needs to
generated to begin with.
|
|
|
|
|
| |
Clojure 1.7 has been around for 3 years now and it's pretty safe
to assume almost no one is still using cljx at this point.
|
|
|
|
|
|
|
| |
via defcustoms
We also set a default *print-level* of 100 to help people kill their REPLs less
often. :-)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
REPL
This worked in the past as well, but someone had to toggle the type of the REPL
to "cljs" using `cider-repl-type` which was not obvious to most people. I also
added an interactive command for toggling the REPL type - `cider-repl-set-type`.
This fixes a mess I had created before - I had copy-pasted some code I planned
to tweak from the related issue and I committed this code upstream by mistake.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
It basically finds the first usage of the namespace-qualified keywords.
For `::other.namespace/foo` this command would go to `other.namespace`
and then find the first mention of `:foo` in it.
|
|
|
|
| |
See: https://travis-ci.org/clojure-emacs/cider/jobs/317868987#L1071
|
|
|
|
|
| |
It's used in all the existing function invocations, so there's no point
to have it as an optional param.
|
| |
|
| |
|
|
|
|
| |
chunk of a result
|
|
|
|
|
|
|
| |
chunk (#2117)
Subsequent chunks of result should not have this re-inserted.
See also https://github.com/clojure-emacs/cider/issues/315
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Fixes #2136
This was causing [failures in CI](https://travis-ci.org/clojure-emacs/cider/jobs/314874715#L1412).
|
| |
| |
| |
| | |
from conversion from when-let to when-let*
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix #2130.
Emacs 26 obsoletes `if-let` and `when-let`, replacing them with `if-let*` and
`when-let*`. This raises byte-compilation warnings (treated as errors) when
testing against Emacs 26.
See: http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-26#n1278
|
|/ |
|
|
|
|
|
|
|
| |
This makes it easy to require common REPL utility functions like `doc`,
`source`, etc. in REPL buffers. Those utils are auto-required in the initial
namespace (typically `user`), but you have to require them yourself after
switching to new namespaces.
|
|
|
|
|
|
|
|
| |
In
https://github.com/clojure-emacs/cider/commit/f40014b9ca8bd89ceb9c2334736375cbcbdd927e
an optimization was attempted which combined two requests into one. However, it
switched the order of requiring the utils and setting the initial namespace,
thus ending up not requiring the utils in the initial namespace.
|
|
|
|
|
|
|
| |
- Sending :inhibit-cider-middleware condition on first request
- Combining require-repl-utils and set-initial-ns into one sync request for
efficiency
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This allows for customization of the modification of the REPL output before it
is inserted into the buffer.
New functions to be used as part of this hook:
- cider-repl-add-locref-help-echo
- cider-repl-highlight-current-project
|
| |
|
|
|
|
|
|
|
| |
- Disallow highlight spilling over () as in ns.foo.bar(file.clj:123)).
- Start matching at the beginning of the symbol, not word. Particularly inhibit
matching of namespaced keywords (which could be many).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- No need for hash tables; they have non-local dynamics in emacs.
- Make calls to cider--prep-interactive-eval explicit on connection.
|
| |
|
| |
|
|
|
|
|
| |
- new function `cider-project-connections-types`
- `cider-connection-type-for-buffer` returns "multi" in cljc an cljx
|
| |
|
| |
|
|
|
| |
This also fixes some issues checkdoc was currently reporting.
|
|
|
|
| |
Those variables are already set by `clojure-mode-variables'.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Use 'cider-repl-pretty-print-width' to control the width that the pretty
printer uses on the repl. If nil, default to fill-column, and finally to
80 if fill-column can be not set.
|
|
|
|
|
| |
The functions in `cider-compat.el` were actually added in Emacs 25.1,
not Emacs 24.4.
|
| |
|
| |
|
| |
|
| |
|
| |
|