cursive

Issues at: https://git.io/cursive-issues
Matheus Gomes 2021-05-18T00:06:21.001900Z

Hi, everyone. The symbol resolution is a really cool feature, is there any way to create a custom resolver so I can use at Resolve something as...?

Matheus Gomes 2021-05-18T14:23:24.010700Z

Nice! Looking forward to this feature, thanks for the explanation

cfleming 2021-05-18T03:51:01.002100Z

They should all do, do you have an example of one that doesn’t?

cfleming 2021-05-18T03:54:58.002300Z

I think you’re right that cycling is hard to do in a general way because it often depends on the current state. I went through a long bout of soul-searching on this with the REPL jumping commands, i.e. should there be one that cycles between input, output and code editor, or should there be 3 absolute jumps? In the end I decided on the absolute jumps. In my case since I’m implementing the command determining the current state is not hard, but the user still has to mentally take the current state into account when using the command, and in the end I decided it was more predictable to have absolutes.

cfleming 2021-05-18T03:57:18.002600Z

Do you mean for some custom form? There isn’t at the moment, but it’s something I’ve long planned to allow. Unfortunately I have to refactor some of the oldest code in Cursive before that happens, and that has taken a long time to get to.

scarytom 2021-05-18T09:59:50.005700Z

@cfleming have you had any complaints about performance recently? Our dev team (8 full-time cursive users) are all noticing significant slow-downs. This is all pretty anecdotal, and I appreciate that isn't very helpful. I'm just fishing at the moment. Speaking personally, my IntelliJ is just freezing for a few seconds at a time fairly frequently as I navigate around the Clojure code.

raspasov 2021-05-19T09:08:32.012700Z

@cfleming emailed

steveb8n 2021-05-20T21:31:50.020600Z

I'm seeing this too. Not sure if it's cursive or the ide. Doesn't seem to be indexing

cfleming 2021-05-21T09:17:23.021800Z

@steveb8n Do you get the generated thread dumps? Can you email them over if so?

steveb8n 2021-05-21T10:17:02.022400Z

I'll try and catch the next one

cfleming 2021-05-21T11:36:23.022700Z

They should be in your log directory from previous stalls.

steveb8n 2021-05-22T06:37:06.023200Z

emailed you one

2021-05-22T06:56:14.023400Z

I switched back to 2020.3 and the freezing has gone. phew! It was starting to drive me crazy

cfleming 2021-05-25T11:15:22.025500Z

@henryw374 Interesting, thanks - which IntelliJ version were you on previously? Had you upgraded to 2021.1.1? They fixed a lot of indexing bugs there, but I don’t know if it also addressed performance.

👆 1
2021-05-25T11:22:02.025700Z

It was 2021.1. I hadn't tried going to 2021.1.1 yet

cfleming 2021-05-18T10:48:07.007500Z

No, I haven’t - is there anything in particular that seems to provoke it?

cfleming 2021-05-18T10:55:35.007700Z

If you could get it to be somewhat reproducible, could you send a performance snapshot? Details here: https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems

👍 2
2021-05-18T10:56:30.008Z

I experience that too, intellij freezes a lot lately, I’m often forced to kill it (I open multiple projects in several tabs _ on Mac)

➕ 2
cfleming 2021-05-18T10:57:35.008300Z

@cyppan If it freezes, you should find some directories with automatically-generated thread dumps in your logs directory. If you find any, could you zip them up and email them to me at <mailto:cursive@cursive-ide.com|cursive@cursive-ide.com>?

2021-05-18T11:32:26.008500Z

oh good to know, I’ll do that thank you

scarytom 2021-05-18T13:13:04.010100Z

thanks for the fast response. I'm not sure we are doing anything in particular to provoke this. I'll have a look at the article you link and see if I can capture something for you. I very much understand how difficult it can be to nail down this kind of thing.

scarytom 2021-05-18T13:13:30.010400Z

cc/ @peterwestmacott

👍 1
raspasov 2021-05-18T22:15:41.011500Z

I have only very recently have noticed rare (2-3 times a day perhaps) freezes of 2-3 seconds each where the whole editor freezes. It almost feels like some sort of s”Stop the world GC” is running within IntelliJ. Definitely nothing dramatic. 99.9% of the time everything is fast as usual.

➕ 1
cfleming 2021-05-18T22:21:05.011800Z

@raspasov Could you check for the automatically-generated thread dumps in your logs directory? (https://intellij-support.jetbrains.com/hc/en-us/articles/206544899-Getting-a-thread-dump-when-IDE-hangs-and-doesn-t-respond)