Fork me on GitHub
#cursive
<
2022-05-11
>
danm08:05:34

We're seeing behaviour where if there is a long running process in the REPL (particularly if it's attempting to connect to some remote and and waiting for a timeout), IntelliJ as a whole seems to lock up. Specifically the terminal built into IntelliJ stops accepting input. Is this a known issue?

AJ Jaro01:05:09

No, I haven't experienced this before. I've had things run for over 10 minutes but I don't know what kind of "long" you mean

ingesol16:05:28

We have a monorepo tools.deps project where each sub-project is loaded as a module in Cursive. As an example, Module A uses functions from Module B. But “Find usages” on a function in Module B does not find usages in Module A, only internally in Module B. Is this supposed to work across modules?

imre17:05:18

Is this a polylith project by any chance?

imre17:05:38

https://github.com/cursive-ide/cursive/issues/2554 whether or not it is, it is probably related to the cause of the linked issue and the workaround could be similar

ingesol21:05:29

Not polylith. And sorry, forgot to mention one important fact: Module B is a dependency of Module A by using :local/root. I suppose that’s the main reason, that Module A knows how to find Module B, but not the other way around.

cfleming22:05:28

Yes, dependencies normally only work in one direction. Is there a reason code in B should be able to access A?

danielcompton23:05:22

To more concrete, we have an “app” module and a “lib” module. app depends on lib via :local/root. When doing find usages on a function in lib, it only shows other uses in lib, not the uses in app

👍 1
cfleming20:05:04

I see, thanks - I’ll take a look at that.

ingesol21:05:29

Not polylith. And sorry, forgot to mention one important fact: Module B is a dependency of Module A by using :local/root. I suppose that’s the main reason, that Module A knows how to find Module B, but not the other way around.

folcon23:05:41

What controls how much indentation auto-format lines adds to comments? Both ; and #_ tend to move with added spacing and all it seems to do is break parinfer...

cfleming21:05:17

This shouldn’t break parinfer, could you give an example of each?

folcon11:05:47

I'll PM you?