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`.
kardan 2020-09-07T12:45:26.168300Z

Is it possible to navigate to forms as in hitting a command over inc in (inc 2) would lead me to the def of inc. (As with “C .” in cider?)

kardan 2020-09-07T12:45:50.168700Z

Tried to look in the docs, but could not find anything

pez 2020-09-07T12:53:15.169800Z

I think you are looking for Goto definition. Check the command-palette for the default shortcut.

kardan 2020-09-07T12:53:39.170200Z

Ah, yes 😳

kardan 2020-09-07T12:53:48.170500Z

Thanks

pez 2020-09-07T12:54:35.171900Z

You’re welcome. Maybe it should be mentioned in the docs. But I think a lot of things are left out of that, since it is VS Code commands really.

kardan 2020-09-07T12:54:45.172200Z

I was searching for Calva: xxx

kardan 2020-09-07T12:54:58.172600Z

Yes, this was just me being new to VS Code

kardan 2020-09-07T12:55:09.173100Z

Can’t cover everything in the docs of Calva

pez 2020-09-07T12:55:12.173200Z

Yes, that is an obvious thing to assume.

pez 2020-09-07T12:55:32.173600Z

(I mean to include Calva in the search.)

pez 2020-09-07T12:56:43.174400Z

I think that we can improve this page by including the advice to also look for general VS Code commands: https://calva.io/finding-commands/

kardan 2020-09-07T13:02:19.175Z

Does something like https://docs.cider.mx/cider/config/basic_config.html#translate-file-paths exists?

pez 2020-09-07T14:26:10.175800Z

No, We don’t have that in Calva yet. Both issue and PR welcome. 😃

1
borkdude 2020-09-07T15:44:53.176300Z

I only recently used this feature once, but I was happy that it was there

pez 2020-09-07T15:52:30.176900Z

Maybe VS Code has it? I am a bit surprised I haven't seen it requested before...

borkdude 2020-09-07T15:54:25.177500Z

I'm not using it anymore. But for cases where you mount a filesystem on to some other directory, it works nicely

kardan 2020-09-07T15:55:04.178400Z

If you use docker for your development this is handy

kardan 2020-09-07T15:56:07.179800Z

As a single developer you could mount your code in a replicate structure inside the container. But if you’re a team that strategy kinda falls apart

borkdude 2020-09-07T15:56:10.179900Z

yeah, when you edit files locally and also mount them and then connect to the docker REPL for eval right?

kardan 2020-09-07T15:57:51.180100Z

Yes

kardan 2020-09-07T15:58:26.181Z

Or especially if you want to navigate the source via goto it becomes problematic. Form meta info will not match reality

kardan 2020-09-07T15:58:31.181200Z

Or match editor

borkdude 2020-09-07T15:58:44.181500Z

@kardan I think this might be a better solution: https://code.visualstudio.com/docs/remote/containers

borkdude 2020-09-07T15:59:28.182100Z

I use a similar extension for SSH, it works miraculously

kardan 2020-09-07T15:59:53.182300Z

Interesting

kardan 2020-09-07T16:04:31.184200Z

Will read up later once all the kids are in bed. Thanks for the link