Fork me on GitHub
#calva
<
2020-03-22
>
colinkahn01:03:40

Is this right channel for general Calva usage questions?

pez08:03:49

Right, so that previous name obviously blurred the channel purpose. Please help me identify places where we now need to update the channel name, using this thread.

pez08:03:27

Thanks. I updated the SO answer. Couldn't edit the ClojureVerse post, b/c closed I think.

pez08:03:03

And now Calva is updated, as well as docs and the wiki.

beem13216:03:10

Hey guys, I’m using calva on windows and I’m wondering if I have to do something specific to enable inline results from evaluation. I can send results to the real window but the commands to display the result as a comment don’t seem to work for me. I use the vim extension but have turned it off to see if that was an issue but no change.

pez16:03:12

Hi, @beem132!

pez16:03:07

Both those should just work. Maybe something else occupies the keyboard shortcuts? Tried running the commands from the command palette?

beem13216:03:39

Hmm yea just tried it with command palette and same result, sending to repl works, sending to comment does not.

beem13216:03:50

Opened the same project on Mac and it works. I’m actually running the project from the wsl on my windows machine so maybe that’s a difference.

pez16:03:59

It should work anyway. Especially if it works sending to the REPL window. Can you file it as an issue via VS Code´s Help menu? Then it should attach some details about your setup.

beem13216:03:33

Sure, I’ll do that. The inline result and comment result both appear to not be working on my setup which makes me think maybe it has something to do with displaying things in the open file.

pez16:03:20

Evaluating to comment should edit the file and put the results there.

beem13217:03:25

False alarm sorry, I was in a clojurescript file. The inline and comment output works fine in the Clojure files.

pez17:03:08

It should work for cljs too.

colinkahn17:03:02

Is there a way to see the output of a println from calva?

pez17:03:20

Yes, it should print to either the output channel or the repl window.

colinkahn00:03:04

@ I'm not seeing it in either. Maybe my setup? I have a deps.edn file w/ an cider nrepl alias that i'm starting from the terminal and then connecting to via VS code

pez06:03:31

You could try to let Calva start the project, and skip the alias then, it will only confuse Calva.

beem13217:03:36

I’m following a walkthrough a walkthrough that uses lein-cljsbuild to handle the cljs flies and I’m jacking in with the plain leiningen setup so I assumed that’s why it’s not working in cljs files maybe?

pez17:03:30

Yes, that could be why. Starting a cljs repl server can be a bit tricky if you don't use shadow-cljs or figwheel.