calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
Xarlyle0 2021-01-27T03:12:01.231900Z

I feel like this should be in a suggestion box somewhere? It took me unusually long to find the answer to this in regular documentation when I first ran into it. Could, upon the detection of a macro with an unresolved symbol, this trigger some sort of suggestion box? Maybe that's a new feature suggestion for clj-kondo? Just sharing some thoughts

bringe 2021-01-27T03:32:29.232100Z

Yeah, I think if anything it would be a clj-kondo concern, but I'm not sure what more could be done to assist. CC @borkdude

Eric Uitbeijerse 2021-01-27T07:08:26.234700Z

Hi, seems that Ctrl-C Ctrl-D does not always kill a running process, for instance a large doseq or map with printing in it. It does recognize the command as it say 'interruption command finished (unknown results)'. Tried it both from the code editor and the REPL, same effect. (Calva 2.0.153 on Windows). Any Thoughts?

bringe 2021-01-27T17:37:35.245400Z

https://github.com/BetterThanTomorrow/calva/issues/978 Here's the related issue

๐Ÿ‘ 1
pez 2021-01-27T07:12:04.234900Z

clj-kondo doesnโ€™t provide the lsp here, right? It reports a linting issue. I think the more plausible options for providing tips on how to handel it are clojure-lsp, or Calva, through lsp middleware.

pez 2021-01-27T07:14:46.235100Z

Another option is if we provide a quick-fix suggestion that adds the needed config.

pez 2021-01-27T07:19:27.237700Z

@eric.uitbeijerse it is a known issue. The process is interrupted but the output window is not stopped in its printing of all the lines that have stacked up. Printing to an editor window is a bit slow.

โœ… 1
2021-01-27T07:34:48.237900Z

I canโ€™t figure out how to make it reproducible firmly, but it happens time to time to me. When I try evaluate some bad code as in the example above, I donโ€™t see any feedback.

2021-01-27T07:36:40.238100Z

(ns app.foo
  (:require [app.bar :as bar]))
In this case app.bar doesnโ€™t exist. When I tried evaluate it, nothing happened.

2021-01-27T07:40:29.238300Z

2021-01-27T07:41:08.238700Z

In the video zelark.maze doesnโ€™t exist.

borkdude 2021-01-27T07:51:13.240900Z

I think adding a link to the docs would best since there is often not one best way to solve a problem. Adding ignores all over the place would maybe prevent people from reading the docs

flowthing 2021-01-27T09:08:05.242900Z

Ahoy! I have a pristine (I think) VS Code and Calva installation, and the "Calva: Connect to a Running REPL Server, not in project" command yields Cannot read property 'toString' of undefined. Any ideas what might be wrong?

clyfe 2021-01-27T09:43:34.243600Z

You can work around some, afaict, by having a project folder opened in vscode.

flowthing 2021-01-27T09:44:10.243800Z

Thanks! My google-fu wasn't strong enough to find that issue.

pez 2021-01-27T11:12:20.244Z

Unless we count asking in here as part of your google-fu. ๐Ÿ˜ƒ

clyfe 2021-01-27T17:56:54.247700Z

Let's merge #972 & #956 please!

bringe 2021-01-27T17:59:59.247900Z

Leaving these up to @pez as he's the one reviewing/working on them. I think he'll be getting to them soon.

clyfe 2021-01-27T18:04:35.248100Z

956 is made by him and needs to be approved by someone else

pez 2021-01-27T18:44:38.250100Z

I'm getting to them. Have a birthday to celebrate here tonight (not mine, my daughter's), but intend to have a look before bedtime. ๐Ÿ˜

bringe 2021-01-27T18:52:32.250300Z

@claudius.nicolae I know. We've discussed if/how we should notify users of default keybinding changes, so I think that's been a bit of the delay, but I think it'll be going out soon. :simple_smile:

bringe 2021-01-27T18:58:35.252400Z

Calva version 2.0.154 is released! ๐ŸŽ‰ :calva: :clojure-lsp: โ€ข Fix: https://github.com/BetterThanTomorrow/calva/issues/971 โ€ข Update cider-nrepl to 0.25.8 โ€ข Update clojure-lsp to 2021.01.26-22.35.27 @zelark and @grumplet The cider-nrepl update may fix your issues, please test it out. @plexus and others who experienced the comment issue, Calva should now use ;; always.

4
2
๐ŸŽ‰ 4
Marc O'Morain 2021-01-27T19:51:10.253500Z

Over the last few weeks Iโ€™ve had this bug with Calva:

Marc O'Morain 2021-01-27T19:51:26.254100Z

When I Jack In, it asks me for the repl port.

Marc O'Morain 2021-01-27T19:51:32.254300Z

It used to just connect itself

Marc O'Morain 2021-01-27T19:51:48.254800Z

now I need to copy the port from the terminal and paste it in the dialog box at the top

Marc O'Morain 2021-01-27T19:51:58.255100Z

Am I doing something wrong?

clyfe 2021-01-27T19:59:34.255200Z

Fix should be released soon https://github.com/BetterThanTomorrow/calva/pull/972

๐ŸŽ‰ 2
clyfe 2021-01-27T20:00:58.255500Z

https://i.redd.it/z8gc9b7163z41.png ๐Ÿ˜…

๐Ÿ˜‚ 3
Marc O'Morain 2021-01-27T20:03:40.256100Z

Awesome, thanks!

ericdallo 2021-01-27T21:27:43.256900Z

This is so true โ˜๏ธ :rolling_on_the_floor_laughing:

Aleksander Rendtslev 2021-01-27T22:46:53.258500Z

Hi, Is it at all possible to use both Clojure CLI and Shadow CLJS in one window? Iโ€™m using Fulcro, so my files are right next to each other. I finally decided to jump back to VSCode from Emacs (Loved emacs, but damn, VSCode is so much faster on my macbook), and this is the only thing blocking me ๐Ÿ˜ž