Fork me on GitHub
#cursive
<
2020-04-27
>
imre09:04:03

One of the projects I'm working on recently got its deps.edn made a symlink and it appears Cursive is unable to handle that.

imre10:04:11

After a bit more investigation it could be that what confused Cursive is that the target of the symlink is another file named deps.edn somewhere under resources

imre10:04:22

Nope, it appears to be the symlink

cfleming22:04:51

Thanks for the issue, I’ll take a look at that.

alexmiller13:04:16

could be tools.deps not handling that too - does that work outside cursive?

imre13:04:48

It appears to work fine, thanks for checking.

imre13:04:34

at least in the contexts we use it

denik16:04:15

Getting this error in cursive with the same profiles but not with lein repl...

Error loading nrepl.server: Could not locate nrepl/server__init.class, nrepl/server.clj or nrepl/server.cljc on classpath.
Error loading complete.core: Could not locate complete/core__init.class, complete/core.clj or complete/core.cljc on classpath.

cfleming00:04:49

Do you get this with all projects, or just with a particular one?

takis_17:04:16

is it possible to have this kind of autocomplete in Clojurescript?i try to use mongodb nodejs driver,i asked yesterday also but still i cant find the way to do it.

cfleming22:04:15

It will be, but isn’t right now. Curently Cursive doesn’t do any type inference at all for CLJS.

davewo21:04:41

how do I tell cursive to auto-import deps changes?

davewo21:04:07

specifically, I thought there was an "auto" mode for this notification

cfleming22:04:42

There used to be with the old deps integration, but I haven’t added it for the new one yet.

✔️ 4
roman01la21:04:27

@cfleming This might be a rare feature request, but I'd like to be able to jump from location in CLJS code to a source mapped location in compiled JS output.

kenny21:04:24

I think this would be super useful too!

roman01la21:04:17

Yeah, sometimes I want to inspect codegen, when the code is small and self-contained I use http://app.klipse.tech/, but for something in a project I'd like to jump straight to the code w/o rebuilding the whole env Klipse

cfleming22:04:13

Hmm, I’m not sure what would be involved in that, could you file an issue so that doesn’t get lost?