This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-25
Channels
- # aws (1)
- # bangalore-clj (1)
- # beginners (15)
- # boot (4)
- # clara (7)
- # cljs-dev (7)
- # cljs-experience (3)
- # cljsrn (1)
- # clojure (143)
- # clojure-austin (2)
- # clojure-germany (1)
- # clojure-italy (11)
- # clojure-serbia (11)
- # clojure-spec (96)
- # clojure-uk (20)
- # clojurescript (70)
- # community-development (58)
- # cursive (14)
- # data-science (1)
- # datomic (45)
- # events (2)
- # fulcro (19)
- # jobs (5)
- # jobs-rus (2)
- # off-topic (40)
- # om (24)
- # onyx (3)
- # parinfer (52)
- # pedestal (6)
- # protorepl (38)
- # re-frame (15)
- # reagent (11)
- # ring-swagger (5)
- # specter (37)
- # sql (3)
- # unrepl (3)
- # vim (1)
We have several lein projects in one repo. We want to depend on the src of one from several others (a specs project). However when I add ../specs/src
to the source-paths of the other projects, Cursive picks up the source path and reorganises the modules so that the specs project is under that module
If I try and edit the modules I get an error > Module "specs" must not contain source root "[...]/specs/src". The root already belongs to module "service"
Is there abetter way to set this up?
@danielcompton If you just add the spec project as a dependency of the others, Cursive will add a module dependency and you’ll be able to access the code.
You could do that in a cursive
profile, perhaps, and then only use that to sync your project in Cursive.
(ns something.core
(:require [something.other :as other]))
::other/a-keyword
As a user I want to be able to use "go to definition" (Ctrl+B) when I put the cursor over ::other/a-keyword
Current behavior: nothing happens
Expected behavior: Cursive opens the something.other
namespace@joelsanchez So something I’ll be adding shortly is the ability for certain keywords to be treated as if they were definitions, e.g. spec keywords
@cfleming yes, provided that the keyword has a namespace and it exists
just opening the namespace, not searching for definitions or anything
many times I'm using a keyword from a namespace and I want to visit that namespace to read/change some code
I instinctively press "Ctrl+B" but immediately I see that there's no one to help me and I'm on my own searching for the namespace in an ocean of code