Fork me on GitHub
#calva
<
2019-07-05
>
Stefan11: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.

Stefan12: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.

Stefan12:07:22

Go for it, I’ll have a look.

pez12:07:05

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

👍 4
Stefan12: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.

🎉 4
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.

Stefan15: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' 😃

Stefan15: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?

Stefan15: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 🙂

Stefan15:07:23

Why atom btw?

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.

Stefan15: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.

👍 4
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.

Stefan15: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?

Stefan15:07:37

Too bad. It’s beginning of August.

Stefan15:07:17

Ok, heading downstairs now, talk to you later! 👋