Clojure Warrior sometimes not ”activating”
Sometimes (maybe 10-15% of the times, hard to estimate) when I start a session, Clojure Warrior is not doing its work. No rainbow parens, no matching, no comment syntax highlight.
I write not ”activating” in the title because I think that the extension activate actually happens. I think I have sometimes managed to ”wake” Clojure Warrior up by fiddling with settings.
I suspect it can be some conflict/race condition with Calva, but I have nothing to back that suspicion up with.
That’s a huge number! Unfortunately I don’t use VS Code anymore, can’t share my experience
I have this problem as well.
I now tried w/o Calva and the problem is still there. Reloaded the window 10 times and only had rainbow parens twice, so in this particular test it was an even more huge number.
I'll have a look at it and see if I can pinpoint what goes wrong.
I can't reproduce it in development mode. Not even if I let all installed extensions be enabled.
Thinking about why that would be, I wonder if maybe in development mode the extension under development is always loaded first. That could explain why it behaves differently... And it would suggest that it is another extension that conflicts. I wonder if there is any order to the loading in general...
Now I can't reproduce the thing at all. Fun. Not. I'll let this rest a while.
OT: Running w/o any installed extensions showed me that someone has broken the string matching of the built-in Clojure grammar. Good thing Calva uses its own grammar. :smile:
Works for me every time (tried ~20 times). I don’t have other extensions installed though
Quantum effects or something. I can't reproduce this any longer. With our without other extensions.
One thing I noticed, though, while I could reproduce it, cmd+r didn't work for reloading the window. I had to choose the command from the palette. Now, when I can't repro, cmd+r works again. I think the problem is somewhere outside this extension, and that pretty parens are just very visible as symptoms. But who knows. Very strange thing anyway.