You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm in a cljs buffer in a project with only a clj repl, I expect to be able to M-x cider-connect-sibling-cljs to start up a clojurescript repl within the same session.
Mental model: "Connect this buffer to existing ones"
Actual behavior
An error message is produced
No cljs REPLs in current session "..."
It seems that I have to navigate to a clj file in order to execute cider-connect-sibling-cljs, which seems quite unintuitive.
Mental model: "Connect other repl to this live buffer"
The reverse situation is also true - with a cljs repl in the session, I cannot cider-connect-sibling-clj from a clj file
Steps to reproduce the problem
src/
foo.clj
bar.cljs
Navigate to bar.cljs
M-x cider-connect-clj
M-x cider-connect-sibling-cljs
Error message is produced.
Navigate to foo.clj, or M-x clojure-mode to trick Cider to thinking we're in a clj file.
M-x cider-connect-sibling-cljs
Expected behavior
When I'm in a
cljs
buffer in a project with only a clj repl, I expect to be able toM-x cider-connect-sibling-cljs
to start up a clojurescript repl within the same session.Mental model: "Connect this buffer to existing ones"
Actual behavior
An error message is produced
It seems that I have to navigate to a clj file in order to execute
cider-connect-sibling-cljs
, which seems quite unintuitive.Mental model: "Connect other repl to this live buffer"
The reverse situation is also true - with a cljs repl in the session, I cannot
cider-connect-sibling-clj
from a clj fileSteps to reproduce the problem
Navigate to bar.cljs
M-x cider-connect-clj
M-x cider-connect-sibling-cljs
Error message is produced.
Navigate to foo.clj, or
M-x clojure-mode
to trick Cider to thinking we're in a clj file.M-x cider-connect-sibling-cljs
cljs repl is successfully connected
Environment & Version information
CIDER version information
Emacs version
28.0.50
Operating system
macOS 11.2.1
The text was updated successfully, but these errors were encountered: