Fork me on GitHub
#calva
<
2020-10-12
>
hoppy04:10:24

haven't seen any anomolies in 2.0.127 on a clj/cljs project. Will be working it on the cljs/node stuff tm.

❤️ 3
Stefan07:10:01

Hmm for some reason vscode has stopped accepting Calva’s keyboard shortcuts on my machine. I was using the vsix of 2.0.127 (see above) but after downgrading to 2.0.126 the problem persists. Has anyone seen this before? How do I fix this? Restarting etc doesn’t do the trick 😞

Stefan07:10:51

Ah found the problem. Apparently Calva has a feature “Toggle Keybindings Enabled”. I must have accidentally issued that keyboard combo. Very confusing, but solved. 🙂

⌨️ 3
👍 6
pez10:10:51

Thanks for letting us know. It's new feature. Maybe we should show more clearly when they are toggled...

Stefan10:10:45

Yeah having a message popping up would be nice. And maybe not having a keyboard shortcut for this command...?

pez11:10:04

I think it is a point with it having a shortcut. But you are right, anyone that wants to use it like that can add a shortcut. If you sneak a removal of the shortcut in with your PR, I'll look away. 😃

bringe16:10:30

Yeah, the shortcut was added by the person who made the PR because they use this feature very often, and even having to click a toggle button in the status bar was inconvenient to them. But I was worried about the lack of notification when they're turned off too. I think we had decided to wait and see how it goes. That user didn't want notifications popping up constantly either since they use that feature often. But at the same time, I don't think many people would use it that often

Stefan16:10:38

No it sounds like an esoteric thing. Just out of curiosity: what was their use case?

bringe16:10:44

It seems quite small/specific of a use-case as stated in that issue, overall, imo.

bringe16:10:00

I feel like there was more to it before though... :thinking_face:

Stefan16:10:18

Ok maybe removing the default keyboard shortcut and having that person assign their own would be an option?

bringe16:10:01

Yeah, I think that's a good idea

pez16:10:40

:thumbsup:

Eugen21:10:27

Having coded in vscode before clojure I also use ctrl arrow for navigation. It's consistent with terminal as well (jumps a word). I also miss multi line editing sometimes.

Eugen21:10:39

Just my 2c

pez21:10:01

Yeah, so then this feature could come in handy for you, right?

Eugen07:10:32

yes, I used control navigation extensively in day to day shell scripting and when editing other software (even here in slack when I wish to jump words and correct some typo)

Eugen07:10:59

in bash it is very handy when editing long comand lines that I need to adapt. I use it with reverse history search (ctrl+R) to look for and edit entries. Doesn't everybody 😄 ?

Eugen07:10:54

It would be great if the clojure structural editing did not overlap with ctrl arrow navigation but I guess it's a limitted number of keys on the keyboard.

pez08:10:51

Why don’t you remap them to suit you better?

Eugen08:10:21

For me I guess it's not my thing. I try to stay away from key binding changes to be able to work on many systems/editors. This tends to happen for me. Muscle memory builds up. Some keybindings are standardized and changing them means I have to maintain them across every computer or when I reinstall. I also switch over a bunch of editors and I appreciate the natural consistency among them. So far this Calva ctrl-arrow navigation has had the biggest impact. I'm slowly getting used to it for structurlal editing so I guess the inconvenience will diminish over time

pez08:10:54

Until we find what should be the default keybindings on windows and linux. 😃

Eugen08:10:50

yeah 🙂. The 2 things I miss when using Calva are: • Multi line edit - for editing maps and data structures on multiple lines - happened once or twice • ctrl-arrow navigation - I fumble them almost daily (new to structural editing)

pez08:10:51

You mean multi-cursor paredit, right?

Eugen08:10:56

is that different from plain text multi line edit ?

Eugen08:10:29

is multi-cursor paredit a thing, I did not know ?

pez08:10:57

Tell me what you are trying to do that does not work. 😃

Eugen08:10:07

I had a vector? that I wanted to turn into a map structure and multi cursor / multi line edit was a good fit there

Eugen08:10:50

it was a data structrue change for lots of values

Eugen08:10:12

not a structural editing as calva / lisp knows it

pez12:10:22

The thing that I am not grokking here is why non-structural-multiline/cursor editing wouldn’t work. I do multi-cursor editing all the time. And every day I wish it worked with paredit as well. There is an issue for that, btw: https://github.com/BetterThanTomorrow/calva/issues/610

👍 3
bringe17:10:00

Yeah, multi-line editing works for me, just not with paredit

bringe17:10:00

I too, had to get used to not using ctrl+arrows within Calva, but my brain is trained now to still use it elsewhere and not within Calva, for the most part. In Calva my brain is now trained to use ctrl+arrows for slurp and barf (though mostly just use slurp)

bringe17:10:21

The issue is partly one of limited available shortcuts, as you said

Stefan15:10:50

FYI: my colleague and I have used live share all day today with the new version (2.0.127) and we had no issues 🎉

🎉 9
pez15:10:05

I've used a merge of 127 and @brandon.ringe's draft PR with saner stack traces. No issues with 127 stuff. (Not using it for LiveShare, but anyway.)

👍 3
Stefan16:10:31

Oh and most of the day we had four different workspaces jacked in AND live-shared at the same time 😀

aw_yeah 3
grounded_sage16:10:04

Cool to hear this LiveShare is working. I am super curious about using it. Is there a write up about how that workflow looks. Or a recording?

grounded_sage16:10:51

Also slight tangent. I am getting this error when I try and jack into the Datahike project. java.lang.NullPointerException: Cannot invoke "jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.getOptions()" because "this.configuration" is null Seems it could be a cider-nrepl / nrepl related issue? Has anyone seen this before?

grounded_sage19:10:14

That’s my bad for not checking. This is actually a known issue. https://github.com/clojure-emacs/orchard/issues/100

✔️ 6
grounded_sage18:10:10

This is super confusing as to how to deal with this. I am currently adding nrepl dependencies into the project and trying to find ones that work together. Is there a better approach to this? @U0ETXRFEW

grounded_sage18:10:44

I’ve gone from being able to easily start a repl to not being able to start one at all lol

Alex Browne22:10:15

I'm running into the same issue. Is there a workaround or solution here?

Alex Browne22:10:17

I found a workaround. Downgraded to JDK 14 using https://github.com/shyiko/jabba. Restarted VS Code and then it worked.

Stefan17:10:09

We are planning to create both write up and video :)

👍 3
grounded_sage17:10:05

Will this be located with the Calva docs? Or separate?

Stefan17:10:45

Write up in docs for sure

grounded_sage17:10:00

Sweet. I am excited about using this for Mob programming

Stefan18:10:21

Nice!! That sounds like a great opportunity for a nice blog post 😉

👍 6
grounded_sage09:10:34

would love a walk through with the team sometime if you have time available for doing this