summaryrefslogtreecommitdiff
path: root/cider-repl.el
Commit message (Collapse)AuthorAge
* Implement a basic interface for the Clojure CheatsheetBozhidar Batsov2018-01-30
| | | | | | | | 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.
* Avoid a potential error if the REPL config defcustoms are all nilBozhidar Batsov2018-01-21
| | | | | | 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.
* Drop support for cljxBozhidar Batsov2018-01-21
| | | | | 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.
* [Fix #2160] Make it possible to customize *print-length* and *print-level* ↵Bozhidar Batsov2018-01-20
| | | | | | | via defcustoms We also set a default *print-level* of 100 to help people kill their REPLs less often. :-)
* Extend a docstringBozhidar Batsov2018-01-20
|
* [Fix #1976] Add an interactive command for connecting to a running ClojureScriptBozhidar Batsov2018-01-15
| | | | | | | | | | | 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.
* [#2153] Improve a bit the descriptions of commands related to clearing the REPLBozhidar Batsov2018-01-07
|
* Bump the copyright yearsBozhidar Batsov2018-01-01
|
* Mention cider-find-ns in the menus for cider-mode and cider-repl-modeBozhidar Batsov2017-12-19
|
* [Fix #2112] Add a new interactive command cider-find-keywordBozhidar Batsov2017-12-19
| | | | | | 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.
* Ignored unused parameter `win` in `cider-locref-help-echo`Tianxiang Xiong2017-12-18
| | | | See: https://travis-ci.org/clojure-emacs/cider/jobs/317868987#L1071
* Make show-prefix a required param for cider-repl-emit resultBozhidar Batsov2017-12-16
| | | | | It's used in all the existing function invocations, so there's no point to have it as an optional param.
* Fix indentationBozhidar Batsov2017-12-16
|
* Fix a docstringBozhidar Batsov2017-12-16
|
* Improve the name of the variable checking whether we're dealing with the firstBozhidar Batsov2017-12-16
| | | | chunk of a result
* Ensure cider-repl-result-prefix is only inserted before the first result ↵Le Wang2017-12-16
| | | | | | | chunk (#2117) Subsequent chunks of result should not have this re-inserted. See also https://github.com/clojure-emacs/cider/issues/315
* Merge branch 'master' into switchBozhidar Batsov2017-12-14
|\
| * Fix misplaced parentheses in `cider-repl-switch-to-other`Tianxiang Xiong2017-12-13
| | | | | | | | | | | | Fixes #2136 This was causing [failures in CI](https://travis-ci.org/clojure-emacs/cider/jobs/314874715#L1412).
| * Restore missing parensdan sutton2017-12-11
| | | | | | | | from conversion from when-let to when-let*
| * Replace `if-let` and `when-let` with starred versionsTianxiang Xiong2017-12-11
| | | | | | | | | | | | | | | | | | | | 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
* | Remove cider-remember-clojure-buffer and cider-last-clojure-bufferVitalie Spinu2017-12-11
|/
* Add a REPL shortcut for `cider-repl-require-repl-utils`Bozhidar Batsov2017-12-10
| | | | | | | 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.
* Fix a regression related to requiring REPL util on REPL startBozhidar Batsov2017-12-10
| | | | | | | | 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.
* Faster REPL - don't load extra middleware on first sync requestVitalie Spinu2017-10-01
| | | | | | | - Sending :inhibit-cider-middleware condition on first request - Combining require-repl-utils and set-initial-ns into one sync request for efficiency
* Add `cider-repl-highlight-spec-keywords` pre-output processorVitalie Spinu2017-09-05
|
* New non-standard hook `cider-repl-preoutput-hook`Vitalie Spinu2017-09-05
| | | | | | | | | | 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
* Jump to other window when clicking on a locref in REPLVitalie Spinu2017-09-05
|
* Improve on cider-repl--root-ns-highlight-template regexpVitalie Spinu2017-09-05
| | | | | | | - 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).
* Rely on cider-find-file when locref cannot be resolved by info middlewareVitalie Spinu2017-09-05
|
* Use plist to cache ns->ns-form mappingsVitalie Spinu2017-07-19
|
* Highlight user root namespaces in REPL stacktracesVitalie Spinu2017-07-19
|
* Simplify ns caching and fix non-evaluation of ns form in cljsVitalie Spinu2017-07-19
| | | | | - No need for hash tables; they have non-local dynamics in emacs. - Make calls to cider--prep-interactive-eval explicit on connection.
* Add support for interactive location references in REPLVitalie Spinu2017-07-19
|
* cider-repl--state-handler doc fixVitalie Spinu2017-07-19
|
* Better connection types retrivalVitalie Spinu2017-07-16
| | | | | - new function `cider-project-connections-types` - `cider-connection-type-for-buffer` returns "multi" in cljc an cljx
* Use #' consistently for :safe predicatesBozhidar Batsov2017-07-09
|
* Add `cider-browse-spec` and `cider-browse-spec-all` to cider-mode and cider-replJuan Monetta2017-07-08
|
* [Fix #1352] Add checkdoc to build (#1957)Erik Assum2017-03-10
| | | This also fixes some issues checkdoc was currently reporting.
* Remove some redundant REPL init codeBozhidar Batsov2017-03-05
| | | | Those variables are already set by `clojure-mode-variables'.
* Add cider-history command, based on browse-kill-ringJohn Valente2017-01-11
|
* Update the copyright years in the source codeBozhidar Batsov2017-01-04
|
* Fix pcase usage - it accepts only backquote before Emacs 25.1 (#1894)Mikhail Gusarov2016-12-21
|
* [Fix #1872] Allow displaying REPL without focusRadon Rosborough2016-12-19
|
* Control pretty print width with variableDan Sutton2016-11-27
| | | | | | 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.
* [Fix #1882] Restore compatibility with Emacs 24.4Bozhidar Batsov2016-11-25
| | | | | The functions in `cider-compat.el` were actually added in Emacs 25.1, not Emacs 24.4.
* Drop support for Emacs 24.3Bozhidar Batsov2016-11-19
|
* Kill some tabsBozhidar Batsov2016-10-09
|
* [Fix #1831] Replace \u2019 with ASCII apostrophe (#1857)John Valente2016-10-06
|
* Kill some trailing whitespaceBozhidar Batsov2016-10-06
|
* Fix a typo (#1830)johnv021392016-08-25
|