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 goes to line 1 column 1 for all locally-defined vars #65
Comments
I think a thing like this might be happening. This is in JVM Clojure, but the behavior is the same in bb:
|
You're absolutely right, borkdude. Given bb/mvp.clj: (ns mvp)
(def foo 1)
foo from the REPL:
|
(ns mvp
(:require [clojure.string :as string]
[clj-yaml.core :as yaml]
[camel-snake-kebab.core :as csk]))
(def foo 1)
foo
inc
string/re-quote-replacement
yaml/generate-stream
csk/->kebab-case
(meta #'csk/->Camel_Snake_Case)
(meta #'csk/->kebab-case) with bb.edn of
|
As @borkdude noted over Slack, the The following are cider-nrepl Local namespace under src
Third-party namespace
Other formats can work, but they're less likely to:
Cheers - V |
Cool, I'll adapt the nREPL server to return URLs (as strings) instead of how Clojure stores it as |
For completeness' sake, I started a JVM REPL from the command line per CIDER instructions with |
🙇 🙏 Thanks! |
Hope it helps. The original issue is still not fixed though: there's still line 1/column 1 for locally defined vars. I only fixed the URL return values, so navigating to a jar should now work. I'll open a new issue for the line 1 issue. |
Continuation of clojure-emacs/cider#3456. Clojurians thread.
I'm trying to get jump-to-definition working in CIDER with babashka. CIDER folks say babashka-nrepl is not returning sufficient information per the API contract.
bb nrepl-server
andcider-connect localhost 1167
foo
foo
somewhere elseM-.
at the reference --> sent to top of buffer instead of place wherefoo
is definedPer CIDER REPL buffer I'm on
;; CIDER 1.8.0-snapshot, babashka.nrepl 0.0.6-SNAPSHOT
;; Babashka 1.3.181
How to proceed?
The text was updated successfully, but these errors were encountered: