This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-05-16
Channels
- # announcements (22)
- # beginners (4)
- # biff (4)
- # cider (5)
- # clerk (3)
- # clojure (28)
- # clojure-chennai (1)
- # clojure-europe (23)
- # clojure-gamedev (7)
- # clojure-korea (5)
- # clojure-madison (3)
- # clojure-my (1)
- # clojure-nl (1)
- # clojure-norway (49)
- # clojure-sweden (7)
- # clojure-uk (4)
- # clojuredesign-podcast (14)
- # clojurescript (10)
- # clr (5)
- # cursive (4)
- # datascript (17)
- # datomic (2)
- # events (1)
- # garden (1)
- # introduce-yourself (2)
- # jobs-discuss (14)
- # lsp (23)
- # malli (14)
- # missionary (9)
- # off-topic (109)
- # overtone (7)
- # polylith (5)
- # releases (5)
- # shadow-cljs (7)
- # sql (13)
- # testing (30)
- # xtdb (10)
- # yamlscript (44)
@cfleming Inspired by the opportunity to find out information first-hand, I will ask another question that has been tormenting me for a long time. Sometimes you come across projects full of records and protocols. And the inability to go back and forth to implementation almost completely deprives you of the ability to navigate the project. Some example
(defprotocol P
(foo [this])
(bar-me [this] [this y]))
(defrecord Foo
[a b c]
P
(foo [this] a)
(bar-me [this y] (+ c y)))
(bar-me (Foo. 1 2 3) 15)
What I do is open the same project in Idea and vscode. And when I need to look at the implementation of protocol, I go through the open in vscode
plugin from the idea, look at the implementation there and come back. This is a working solution, but it's a crutch. I want to ask if there are any foreseeable plans to create any, even the most primitive, way of navigation for this case? I also tried to simultaneously use the cursive and clojure-lsp plugins(which can move to/from implementations) in the idea, but they interfere with each other’s functionality and cursive contains functionality better fit for me. See issues on https://github.com/cursive-ide/cursive/issues/1244, but without any information about.➕ 2
Yes, protocol navigation is on my list to fix ASAP, a lot of people have asked about this recently.