cursive

Joe R. Smith 2026-01-16T22:09:15.902689Z

I felt like I was losing my mind, but, nope, itโ€™s Cursive. ๐Ÿ˜‰ Top is a file in cursive, bottom is the same file catโ€™d in terminal. Line 5 is different. There are no uncommitted changes in the repo, file is not marked unsaved in the IDE (I can cmd+s all I want). What is โ€ฆ happening!? Oh, and the fie compiles in the repl in Cursive, but throws a compiler error if I kick off tests from the CLI.

Joe R. Smith 2026-01-16T22:17:46.771489Z

actually making a change to the file myself and saving it updates it with the โ€œhiddenโ€ change, too.;

2026-01-16T22:49:27.556629Z

this is the stuff of nightmares

2026-01-16T22:49:45.947119Z

how much time did it take to find this?

2026-01-16T22:50:20.158999Z

I imagine an "invalidate caches" would take care of this(?)

Joe R. Smith 2026-01-16T22:50:45.543779Z

About 15 minutes. Too long. ;)

2026-01-16T22:51:07.337429Z

not too bad. I could see this sneaking into prod and just being impossible to find.

Joe R. Smith 2026-01-16T22:52:30.171989Z

My test runner job in GitHub was throwing the compiler error- I would look in my IDE, compile it, shrug, and then kick off the job in GitHub again.

Joe R. Smith 2026-01-16T22:52:41.245539Z

Trust nothing!

2026-01-16T22:52:48.907599Z

feelsbadman

2026-01-16T22:53:00.614929Z

you try invalidate caches?

isak 2026-01-16T22:59:37.869329Z

I have had bizarre syncing issues like this with another IntelliJ product called Datagrip. Seemed like they had some strange ideas around caching, source of truth, etc.

shaunlebron 2026-01-16T23:37:23.256079Z

is this parinfer? ๐Ÿ˜ž

shaunlebron 2026-01-16T23:39:37.053859Z

cfleming 2026-01-17T04:54:44.647219Z

I'm going to CYA here and say that I think this is IntelliJ, not Cursive, but yeah, feelsbadman for sure.

cfleming 2026-01-17T04:56:52.500849Z

What I think it looks like is a bug in IntelliJ's virtual file system. I'm sure they have their reasons for it, but it's frequently a real problem where the IDE sees some changes that haven't been synced to disk. But if you're explicitly saving, or swapping to another app and back (usually auto-saves on loss of focus) then it looks like a bug in IntelliJ's VFS dirty detection. Unfortunately it's not something I can help with, sorry ๐Ÿ˜ž

๐Ÿ‘ 1
Joe R. Smith 2026-01-17T05:39:04.975849Z

Thanks for all the responses- Iโ€™m just glad I wasn't going crazy. ;)