Fork me on GitHub
#calva
<
2019-07-05
>
stefan.van.den.oord11:07:39

Is there a particular reason why #_ comments are not rendered as comments in VSCode?

pez12:07:48

I have a branch where I've started to add that (making it italics with intact syntax highlight). But I got lost in the regexps and had to let it rest. Time to pick it up again maybe.

stefan.van.den.oord12:07:23

hehe ๐Ÿ™‚ would be nice but not the most important thing maybe.

pez12:07:09

If you're good with regexps I can show you what I was trying and maybe you can figure it out. It was a while ago. I don't remember which cases were failing.

stefan.van.den.oord12:07:22

Go for it, Iโ€™ll have a look.

pez12:07:05

Cool! I'm afk, I'll holler when I'm back.

stefan.van.den.oord12:07:38

Other question: since recently (not sure when exactly), when I press <enter> inside a form, the cursor will go to column 0 instead of the right indentation based on nesting. Any idea why?

pez12:07:53

Yeah, it was Clojure Warrior 0.2.0. Update it, and you should have auto formatting back again.

pez15:07:48

@stefan.van.den.oord, this is the branch: https://github.com/BetterThanTomorrow/calva/tree/wip/grammar-comment-expression I have just merged master into it. Do you have some time right now? If so, I have too. Otherwise let's just try find a slot.

stefan.van.den.oord15:07:33

I think I have to show up for dinner any time now ๐Ÿ™‚ Maybe in a few hours from now?

pez15:07:44

You'll need Atom, just sayin' ๐Ÿ˜ƒ

stefan.van.den.oord15:07:48

(Donโ€™t know where you are based)

pez15:07:18

I'm a Swede. So dinner time here soon as well. ๐Ÿ˜ƒ

pez15:07:37

Guessing you're in Netherlands?

stefan.van.den.oord15:07:25

Why donโ€™t I try go setup a dev env first tonight and have a look at that branch; Iโ€™ll get in touch afterwards. Not sure if itโ€™ll be tonight, it might be we just crash on the couch ๐Ÿ™‚

pez15:07:08

Setting up the Calva dev env is quite easy. You should at least be able to run the dev version of Calva and check when the #_ grammar is working and when it is not.

pez15:07:59

Atom because that is how the clojure grammar stuff is built. The vscode team was using the Atom grammar and just translating it.

stefan.van.den.oord15:07:20

huh not sure if I understand but Iโ€™ll get there

pez15:07:15

But it was way too slow issuing PRs towards the Atom repo and waiting for them to merge it and then asking the vscode team to use the new stuff... So I just decided to insource it in Calva.

pez15:07:19

I use Atom for running the tests (CoffeScript). I think it can be made to work in vscode as well, but I haven't bothered.

stefan.van.den.oord15:07:29

Are you also coming to Heart of Clojure btw?

pez15:07:07

No, I can't afford the trip. When is it, now again?

stefan.van.den.oord15:07:37

Too bad. Itโ€™s beginning of August.

stefan.van.den.oord15:07:17

Ok, heading downstairs now, talk to you later! ๐Ÿ‘‹