Fork me on GitHub
#cursive
<
2019-07-03
>
pserrano13:07:56

Is there a way of customizing the shift+shift search for only showing clj files?

jvtrigueros14:07:01

I typically resort to using the Search by Namespace shortcut. I don't think it's bound by default. It's under Navigate -> Namespace...

cfleming03:07:48

Right, the shift-shift action is search everywhere, it’s not designed to be limited. Searching by namespace is a much better option.

vlaaad19:07:02

after updating to latest tools.deps.alpha, cursive can't see "src" dir as a source path

vlaaad19:07:47

so I'm having a deps.edn-based project with clojure.cli version of 1.10.1.458, and no :paths key in deps.edn

souenzzo20:07:56

@UCTNL1JNN that's your problem?

Alex Miller (Clojure team)20:07:40

Sounds like you are missing the install deps.edn which is now included in tools.deps as a resource

Alex Miller (Clojure team)20:07:58

There is actually a new clj out today that probably fixes it. It’s still working it’s way through brew

cfleming20:07:11

@alexmiller Nice, I’ll update Cursive to use that - that will be great.

Alex Miller (Clojure team)22:07:42

the new functions in tools.deps.alpha.reader should avoid needing to shell out for anything (if you were), and I'd be happy to help you in that quest. but I don't know exactly what cursive does to know what to suggest.

Alex Miller (Clojure team)22:07:50

in particular, there are new functions there that replicate what clj does to find all of the clj files

cfleming02:07:18

Ok, I’ll check it out tomorrow, thanks.

vlaaad21:07:52

I'm on linux

vlaaad21:07:28

and I'm having problem with cursive, not tools.deps

vlaaad21:07:07

running clj and requiring stuff works fine, it's cursive who does not display src folder as source

Alex Miller (Clojure team)21:07:38

Cursive uses your clj installation

Alex Miller (Clojure team)21:07:58

You should update your clj again to .462

vlaaad21:07:00

it fixed my issue with cursive!

hlship23:07:24

Ah, this is still a problem?

hlship23:07:32

Curse you clj-pdf!

hlship23:07:49

I may have to downgrade back to 1.7

hlship23:07:34

Maybe the EAP build ....