Fork me on GitHub
#cursive
<
2016-09-05
>
boris02:09:21

Is there a way to “kick” cursive’s autocomplete to update for example after adding :requires ? Only the REPL is autocompleting somewhat reliably for me in that situation.

boris02:09:40

if I restart IDEA then lastest :requires that were only completing in REPL work in editor too.

lfn303:09:38

@boris whenever I have issues with that I do Refresh Leiningen Projects (from cmd-shift-a or top left of the leningen window)

boris03:09:36

@lfn3: yeah it has never just worked for me but refreshing lein project does the trick. thanks (i’m evaluating cursive for first time)

lfn303:09:05

The times I’ve had issues with it are when adding new deps to the project.clj, but other than that I don’t really have to use it.

boris03:09:38

oh ok - I think that’s the same with me

danielcompton04:09:08

@boris you can do File > Invalidate Caches / Restart to reset all Cursive/IntelliJ state

boris04:09:53

@danielcompton is that what you do when adding dep to project.clj?

danielcompton04:09:09

only if something gets really weird

danielcompton04:09:23

@lfn3’s tip is right for just adding a dep

cfleming07:09:17

@squest Why do you want to turn that off?

squest07:09:27

@cfleming some of us are working on “content” that is not related to the project but still need to code in clojure, so it’s distracting for some of my team 🙂

cfleming07:09:41

@squest But can’t they just generate the stubs to make that go away?

cfleming07:09:14

If they’re writing Clojure code they’ll need to do that for the symbol resolution to work correctly.

squest07:09:46

@cfleming somehow it’s always error when generating stubs

cfleming07:09:10

What’s the error you’re receiving?

squest07:09:36

since they mostly use clojure.core so, symbol resolution should have been fine

cfleming07:09:45

I’d prefer to fix that rather than allowing the notification to be turned off.

squest07:09:24

re:error that I have to check with them

squest07:09:32

Thanks for now

cfleming10:09:24

@squest Ok, when you get details on the error, let me know here or file an issue and I’ll look at it.