Fork me on GitHub
#cursive
<
2021-10-14
>
nodename03:10:42

I’m trying to add a run configuration for Reveal as described in https://vlaaad.github.io/reveal/#cursive but “Run with Deps” is greyed out. Why is it greyed out?

cfleming03:10:17

How did you create the project? That option is only available for projects imported from a deps.edn.

nodename16:10:35

OK no it was not created that way

octahedrion15:10:06

sometimes when I start a REPL I can't send forms inside comment blocks to the REPL, instead it sends the entire parent comment. I don't know what I'm doing differently when this happens because usually it does what I expect and sends the outermost non-comment form to the REPL

cfleming19:10:10

I’ve been meaning to test this, but I think that this happens if you send the form when it’s indexing.

octahedrion12:10:01

it's not that - it's not indexing

octahedrion13:10:02

though it could be related to indexing - I did "refresh clojure deps..." and got an exception regarding indexing which I've reported to Cursive. I'm now doing invalidate caches and restart...

octahedrion13:10:10

I also noticed that I had no code-completion for that project

octahedrion13:10:37

ok invalidate caches & restart fixed it

octahedrion13:10:39

and fixed the code-completion too

octahedrion13:10:21

it's annoying having to restart IntelliJ but all's well that ends well

dvingo19:10:05

it depends on where your caret is placed

octahedrion08:10:50

no it doesn't. There are 2 ways to send forms to the REPL, send current form and send form before caret. I'm talking about the former which can break if indexing is broken