Fork me on GitHub
#calva
<
2021-07-25
>
fabrao01:07:31

hello all, is calva has any waiting evaluation sign or icon ?

bringe01:07:22

No, Calva does not have a visual indicator that an evaluation is currently running.

pinkfrog14:07:22

Hi. Calva does not perform ns derving. The two conditions are already met: https://calva.io/ns-form-deriving/

bringe01:07:02

Hello. Calva relies on clojure-lsp for namespace deriving now. I think you should ask this question in #lsp. We need to update the documentation about this. I'll make an issue for it to be done.

bringe05:07:58

Just so you know, I've now updated the documentation you linked and it now lives here: https://calva.io/namespace-form-auto-creation/

pinkfrog11:07:54

Calva automatically enables lsp, what else should I configure?

bringe18:07:43

I'm not sure, maybe there is some issue with it analyzing your project. @UKFSJSM38 may be able to help you with this. You can check the logs to see if there was an error during analysis. https://clojure-lsp.github.io/clojure-lsp/troubleshooting/#getting-server-log

ericdallo18:07:18

namespace auto creating only works if your project was analyzed correctly and your :source-paths are correct (or were correctly auto resolved)

ericdallo18:07:40

You need to check clojure-lsp server log to confirm both, the link @U9A1RLFNV posted ☝️

pinkfrog13:07:43

I’ve shadowcljs.edn and deps.edn both appearing in the project root dir. How does Calva/lsp know what project it is?

ericdallo13:07:21

ATM it'll consider both

ericdallo13:07:28

it will get both classpath and merge

pinkfrog13:07:54

For deps.edn, how to specify the :aliaes to merge with?

ericdallo13:07:57

you need to specify :source-aliases config

pinkfrog13:07:47

Thanks for that info.

👍 2
pinkfrog13:07:50

By the way, the auto adding namespace part works now. This was due to that I already have a ~/.lsp/config.edn that sets the adding to be false. (which I’ve forgotten).

👍 5