cursive

Issues at: https://git.io/cursive-issues
JAtkins 2020-12-20T03:49:44.453600Z

Today I am running into a really weird bug. The "projects" tab is no longer visible in my project. Additionally, it appears that all cursive project management, since my files are not under a source root, dependencies cannot resolve, and goto definition fails. The funny thing is I can still see the "repl" window in the side, create run configurations with local or remote repls, and use sexp based editing. I'm on IntelliJ 2020.3 (just updated today to see if that was the issue) and Cursive latest (non EAP) (also reinstalled today).

JAtkins 2020-12-20T08:51:20.456600Z

The deps window that is installed with cursive is the one that went missing. I’ll send tomorrow afternoon. It’s not mission critical for me, since it’s only my laptop and for now my desktop is fine.

JAtkins 2020-12-21T15:39:31.457300Z

Bad news. The issue is now being repeated on my desktop 😬 . Weirdly enough it doesn't happen on every project. I'm just being careful right now to not crash intellij so I don't have to re-open my work project.

JAtkins 2020-12-21T16:36:56.457500Z

Solution found: click the deps.edn file in the file tree, and add as deps project. Weirdly, I thought I had tried something similar already when I had closed the projects and used the Open -> open "deps.edn" as project file -> importing... set of menus. Thanks @wilkerlucio

1🚀
cfleming 2020-12-21T21:29:52.457900Z

Hmm, that is weird, did this problem start after upgrading IntelliJ?

JAtkins 2020-12-21T21:59:22.458100Z

Maybe? I was on some version of IntelliJ 2020.2 before when the problem first arose

cfleming 2020-12-20T06:00:29.453800Z

So actually this (shamefully) doesn’t support protocols at the moment, it only supports implementing Java interfaces. But since protocols also create an interface, I suspect Cursive is getting confused there. I’ll try to fix this soon.

cfleming 2020-12-20T06:01:29.454Z

I just set the max memory to 2G and don’t worry about the rest, although that’s unlikely to be optimal. I actually suspect I have a memory leak in the parinfer stuff if you happen to be using that, but I haven’t had time to track it down yet.

2➕
cfleming 2020-12-20T06:02:20.454200Z

When you say the projects tab, do you mean that the projects toolwindow is not visible?

cfleming 2020-12-20T06:03:02.454400Z

It sounds like a more fundamental issue is happening though, can you send me your log file (Help | Show log in Finder/Explorer) to <mailto:cursive@cursive-ide.com|cursive@cursive-ide.com>?

JAtkins 2020-12-20T08:51:20.456600Z

The deps window that is installed with cursive is the one that went missing. I’ll send tomorrow afternoon. It’s not mission critical for me, since it’s only my laptop and for now my desktop is fine.

genekim 2020-12-20T17:26:28.456800Z

Totally can’t imagine life without parinfer! 🙂 No worries — life is great. I’ll just quit and restart IntelliJ more often. Totally not a big deal. Happy holidays to you and yours, all!