Fork me on GitHub
#calva
<
2019-07-30
>
orestis13:07:57

Just a happy user report — came back from vacation and set a colleague up with Calva 2.0, and everything works a breeze. He was pretty impressed 🙂 Using Lein and a plain Clojure project so far, but evaluations worked, REPL worked perfect. Only downside is the error printing but I see that’s in progress 😄

pez13:07:30

Thanks, @orestis! That's great to hear.

pez13:07:47

What about error printing is on the wishlist?

orestis13:07:01

When you evaluate something in the editor and it throws, we couldn’t find a way to see the whole stacktrace.

orestis13:07:18

When you type something directly in the REPL, you see a nice formatted stacktrace.

cheatex13:07:37

@pez yeah I use it, but ctrl+hover window feels more convenient because it shows both source and rendered docs

pez14:07:45

@orestis, if there is an issue for this, please chime in on it on github to give it attention. Otherwise, I'd appreciate an issue about it. Not sure how it should be tackled, but issues are the way I get reminded of things that should be looked at. 😃

pez14:07:11

@cheatex, I think this might be general for vscode. Calva only produces the docs really and on ctrl/cmd vscode adds that peek into the source. Seems a command for doing that w/o hover is lacking. At least I can't find any such command regardless of what language I am editing.

cheatex15:07:59

Ok, I thought it's a calva extension. Clojure and CSS are the only languages I use Code for )

pez15:07:17

Well, the contents for the hover and the path for the preview are provided by Calva. But the UI as such is general VS Code.

pez16:07:05

Dear calva-friends, you can help me test that clojure-cli jack-in works in this test build. (It's a quite big change under the hood, so I'd love help with testing Leiningen and shadow-cljs projects as well.) To put it to a test: install the VSIX file in VS Code from the meatballs menu (`...`) in the Extensions pane. cc: @johnjelinek @slack1038

👀 4
johnjelinek18:07:10

I left feedback in other thread

johnjelinek18:07:39

summary: • calva works with powershell • can't switch to different terminals in vs code

cheatex19:07:15

works for me (linux, lein, figwheel.main)

metal 4
pez10:07:47

This build should fix the jack-in glitch when, on Windows, the connection process wouldn't sometimes (about every other time) continue when the nrepl server had started. @cheatex: can you confirm that it works in an non-glitchy way on Lunux? I am assuming Mac and Linux provide a similar API for the FSWatcher, but don't have a Linux environment handy to confirm that.

cheatex12:07:11

Yes, still works

metal 4
pez07:08:39

In this build I have fixed an issue with shadow-cljs jack-in where, for some project configs, the nrepl port wasn't picked up correctly. The change is rather fundamental though, so again need help to check that jack-in and connect still work in all various combinations of operating systems and project types.

kstehn10:08:22

leinigen: jach-in and connect works fine

pez10:08:59

Thanks, @slack1038! I think I am closing in on being able to release this stuff now. It was way more work than I imagined. (Story of my developer life, of course 😄).

kstehn17:07:08

for me with leiningen it works fine 😄

metal 4
pez10:07:47

This build should fix the jack-in glitch when, on Windows, the connection process wouldn't sometimes (about every other time) continue when the nrepl server had started. @cheatex: can you confirm that it works in an non-glitchy way on Lunux? I am assuming Mac and Linux provide a similar API for the FSWatcher, but don't have a Linux environment handy to confirm that.