File tree Expand file tree Collapse file tree 4 files changed +16
-10
lines changed Expand file tree Collapse file tree 4 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -503,6 +503,7 @@ and try to associate the created connection with this project automatically.
503
503
* [ #1422 ] ( https://github.com/clojure-emacs/cider/issues/1422 ) : Don't display mismatching parens error on incomplete expressions in REPL buffers.
504
504
* [ #1412 ] ( https://github.com/clojure-emacs/cider/issues/1412 ) : nREPL messages for separate sessions are tracked in separate buffers.
505
505
* Removed ` cider-switch-to-repl-command ` .
506
+ * Renamed ` cider-default-repl-command ` to ` cider-jack-in-default ` .
506
507
507
508
### Bugs fixed
508
509
Original file line number Diff line number Diff line change @@ -214,17 +214,23 @@ By default we favor the project-specific shadow-cljs over the system-wide."
214
214
:safe #'stringp
215
215
:package-version '(cider . " 0.10.0" ))
216
216
217
- (defcustom cider-default-repl-command " clojure-cli"
218
- " The default command and parameters to use when connecting to nREPL .
217
+ (defcustom cider-jack-in-default " clojure-cli"
218
+ " The default tool to use when doing `cider-jack-in' outside a project .
219
219
This value will only be consulted when no identifying file types, i.e.
220
220
project.clj for leiningen or build.boot for boot, could be found.
221
221
222
- As tools.deps is bundled with Clojure itself, it's the default REPL command."
223
- :type 'string
222
+ As the Clojure CLI is bundled with Clojure itself, it's the default."
223
+ :type '(choice (const " lein" )
224
+ (const " boot" )
225
+ (const " clojure-cli" )
226
+ (const " shadow-cljs" )
227
+ (const " gradle" ))
224
228
:group 'cider
225
229
:safe #'stringp
226
230
:package-version '(cider . " 0.9.0" ))
227
231
232
+ (define-obsolete-variable-alias 'cider-default-repl-command 'cider-jack-in-default )
233
+
228
234
(defcustom cider-preferred-build-tool
229
235
nil
230
236
" Allow choosing a build system when there are many.
@@ -1363,7 +1369,7 @@ PROJECT-DIR defaults to the current project."
1363
1369
choices nil t nil nil default ))
1364
1370
(choices
1365
1371
(car choices))
1366
- (t cider-default-repl-command ))))
1372
+ (t cider-jack-in-default ))))
1367
1373
1368
1374
1369
1375
; ; TODO: Implement a check for command presence over tramp
Original file line number Diff line number Diff line change @@ -62,9 +62,8 @@ Note that if you try to run `cider-jack-in` outside a project
62
62
directory normally you'd get a warning to confirm you really want to
63
63
do this, as more often than not you'd probably do this
64
64
accidentally. If you decide to proceed, CIDER will invoke the command
65
- configured in ` cider-default-repl-command ` . This used to be `lein
66
- repl` prior to CIDER 0.17 and it was switched to Clojure's CLI ( ` clj`)
67
- afterwards.
65
+ configured in ` cider-jack-in-default ` . This used to be ` lein ` prior to
66
+ CIDER 0.17 and it was switched to Clojure's CLI (` clj ` ) afterwards.
68
67
69
68
!!! Tip
70
69
Original file line number Diff line number Diff line change 202
202
(expect (cider-project-type) :to-equal " build2" ))))
203
203
204
204
(describe " when there are no choices available"
205
- (it " returns the value of `cider-default-repl-command ' "
205
+ (it " returns the value of `cider-jack-in-default ' "
206
206
(spy-on 'cider--identify-buildtools-present
207
207
:and-return-value '())
208
- (expect (cider-project-type) :to-equal cider-default-repl-command ))))
208
+ (expect (cider-project-type) :to-equal cider-jack-in-default ))))
209
209
210
210
(describe " cider-normalize-cljs-init-options"
211
211
(describe " from options"
You can’t perform that action at this time.
0 commit comments