Fork me on GitHub
#calva
<
2021-12-17
>
stuartrexking04:12:40

Why do I see this error? When I try to resolve using the lightbulb, nothing happens. When I try to resolve using the command, I see an error in a popup.

stuartrexking05:12:47

What I ended up doing is adding the correct entry to the :config-paths in .clj-kondo/config.edn.

pez07:12:19

Thanks for updating with your fix. A bit confusing error message, I agree. We should look into that, please file an issue to give us something to track, and make the solution visible.

bringe18:12:43

I believe the reason nothing happened using the lightbulb method (code actions) is because that method currently doesn’t work, but should soon when clojure-lsp is updated.

Lukas Domagala12:12:52

when i do “slurp sexp forward” at:

"|"somestuff
where the | is my cursor, i get ” somestuff”. I would expect the string to not start with a space. Is that intended behavior?

pez14:12:32

Not really intended, It’s a side effect of that strings are treated as lists and we haven’t made a special case for it. But we can consider. You could file an issue. Would be nice if you did a bit of research about more of the paredit commands and see if you think they behave, and also compare with other paredit implementations. But just an issue on the string slurp case is good as well.

Lukas Domagala14:12:40

k I’ll put up an issue and see if I can find time to try some more string things. Although I’m not a super heavy paredit user, so it might be good if someone else also plays around with it.

❤️ 1
dabrazhe12:12:46

Experiencing the issue with calling an internal web page from calva. When a call to the page is evaluated the evaluation blocks synchronously. If the page is too slow or non-responsive in the browser the repl suspends. Interrupting the evaluation doesn't do much. I cannot press enter in the repl or evaluate any new commands after that. This is rather annoying because I have to disconnect from the repl, and reconnect/re-evaluate all namespaces and libraries over again! Not good experience when showing this to colleagues either. Any suggestions on how to unfreeze the repl/calva without re-connecting?

pez13:12:03

Is this when having used jack-in?

pez13:12:12

Also, I don’t recognize the situation at all. I wonder why it happens like that…

dabrazhe13:12:57

I am connecting to a running babachka nrepl via 'Connect to running repl in your project'

dabrazhe13:12:31

and specifying the port. It works fine most of the time. But the problem is bugging me daily now, too often to ignore

pez13:12:46

Ah, so I have never made webapps with babashka. Maybe it does not implement the interrupt eval op? See if you can reproduce the problem w/o Calva.

JR15:12:30

Is there a way to color only the definition of a variable? I’d like to have half-count definition below colored different than variable uses

(let [half-count (/ (count row) 2)]
  ...)
I looked at textmate coloring, but half-count has the same scopes as row. But might it be possible because the formatter knows that Control+Alt l should format let vars?

pez08:12:23

I don’t think there is.

🤷 1
1
😇 1