-
-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'jump to definition' not working on cider-connect with remote embed repl server. #2148
Comments
Can you, please, post here the message exchange between CIDER and nREPL (as described here http://cider.readthedocs.io/en/latest/troubleshooting/)? This will give us a much better idea about the exact nature of the problem. |
Sure. You mean
Add another sample
|
The first example seems fine, so IMO this should take you to the source. The second is odd - seems there's no metadata for Regarding the first example - it'd be nice if you debugged the I'm pretty puzzled by the fact that you got all the data you needed but the lookup is not working. |
What I found is that For example, here is nrepl-messages.
I used the Edebugger to watch steps from And some other weird things happened in |
In
But those parts, not calling |
So, basically you're saying |
Yes, Edebugger shows that |
Until yesterday I had tried just |
I found and finally fixed it. After more examinations I would like to send PR. |
@soulawaker Happy to hear this! Looking forward to that PR! |
I don't know it is bug or not, yet.
Expected behavior
Jumping to the definition that required by ns.
Actual behavior
Not jumping.
symbol:
prompted.Steps to reproduce the problem
Add
[cider/cider-nrepl "0.17.0-SNAPSHOT"]
dependency to project.clj.Add
[cider.nrepl :refer [cider-nrepl-handler]]
tons
in clj file that send its handler to an embed REPL server.Find remote project folder and files by Emacs Tramp.
cider-connect
on any remote project file to remote embed REPL server.Connection established. 'cider-repl buffer' worked fine.
Try jump to definition in any function from required external namespace.
Failed and
symbol:
prompted.This is extremely important! Providing us with a reliable way to reproduce
a problem will expedite its solution.
Environment & Version information
CIDER version information
0.17.0-SNAPSHOT (20171228.1254), nREPL 0.2.12
Clojure 1.8.0, Java 1.8.0_151
Lein/Boot version
Lein 2.8.1
Emacs version
24.5
Operating system
Elementary OS Loki based on Ubuntu 16.04
The text was updated successfully, but these errors were encountered: