This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-08-25
Channels
- # announcements (21)
- # babashka (8)
- # beginners (11)
- # calva (11)
- # clj-kondo (14)
- # clojure (52)
- # clojure-chicago (6)
- # clojure-europe (10)
- # clojure-nl (32)
- # clojure-norway (38)
- # clojure-uk (3)
- # code-reviews (2)
- # conjure (1)
- # cursive (6)
- # datahike (4)
- # hyperfiddle (15)
- # introduce-yourself (3)
- # lsp (10)
- # matrix (17)
- # off-topic (8)
- # polylith (3)
- # slack-help (12)
- # specter (4)
- # vim (20)
- # xtdb (15)
Hi all, since a few days noticed that for some unknown reasons the editor becomes sometimes unresponsive, I can type letters but backspace is not working. Sorry for the vague description, it is really a weird issue. What I observed is that the CPU load for the extension host is at 100%. I think that it’s a clojure-issue, because when clicking on clojure-lsp in the footer, the message “Activation extension…” is shown — usually there is a menu. After waiting for some time, I did see the menu again and then I could restart clojure-lsp, which made the CPU load go down to almost 0% again. Although backspace is still not working 🤷 Did anyone observe something similar?
clojure-lsp should use more cpu only during startup/analyzing your project, after that it should be pretty low
yes, in this case it just goes to 100% for no apparent reason. Restarting clojure-lsp also did not solve the issue. Disabling and enabling the Calva extensions did work.
could you try removing ~/.cache/clojure-lsp and restart again? just thinking that for some reason could be the post-startup jdk analysis that could take 1min or so
I don’t think it is related to clojure-lsp. I did experience a lock-up today matching the description here. I don’t know what it would be about. And why now. The usual suspect for this kind of lockup is the structural editor, but we haven’t done anything major with that one lately…
FWIW, I haven't reported this but I have been seeing a similar issue: I'm editing code and start typing a symbol or I'm typing into a string, realize I've mistyped and try to backspace but nothing happens -- I can type more characters but cannot backspace -- and then after a brief period my backspaces suddenly take effect at wherever the cursor happens to be at that point. It's very odd. I can click elsewhere in the file. I can move the cursor with the arrow keys. Typing anything except backspace seems to work fine. And then those "missing" backspaces get actioned at the (new) cursor position. It's a fairly recent phenomenon and it happens randomly between a few and maybe half a dozen times a day.
(I haven't reported it because I can't repro reliably so I don't have a sense of what might be causing it)
backspace is a bit special, because it involves the structural editor. What you describe here makes me suspicions towards it even stronger.
I think it’s OK to report this even though it’s vague and elusive. Maybe other people can contribute with symptoms so that we can figure out a repro.
https://github.com/BetterThanTomorrow/calva/issues/2299 -- if you want to add your symptoms etc @U02G3DBJ2SY