-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS Code clerk/show! #393
VS Code clerk/show! #393
Conversation
Add VS Code clerk/show! file watcher hotkey instructions.
Thanks @mike706574 for helping me figure this out! |
Hmm, looks like this info is also in https://github.com/nextjournal/clerk#editor-workflow so I'd need to update that too. |
Hey @brettrowberry, Thanks a for looking into this, been wanting to have this for a while. Do you think setting up a global shortcut for |
the show! shortcut from updated book.clj does not work for me in windows, because $file contains escaped characters "C:\U...." that can not be read by the REPL |
Ouch! That needs to be fixed in Calva. Please file an issue there! |
Thanks for looking into this @PEZ, I've filed BetterThanTomorrow/calva#2184. |
Thanks for the issue, @mk! @blnote : Here's a build of Calva that should be escaping the file path backslashes. I don't have a Windows machine handy, can you give it a spin? To install it you need to download the VSIX package to your machine (and rename it the extension to |
This fix is now released, blindly, in Calva v2.0.358. All that is changed is that all Another thing. I'd like to mention a new feature in Calva, released with v2.0.356, that might, or might not, be relevant for Clerk notebooks workflow. It's a way to get code called when the file is loaded in the REPL (using Calva's command for Load File). The same substitutions as with the custom command snippets are available here. See: Calva: Auto-evaluate Code at file/namespace load/evaluation for details. |
Hi Peter, I've sent u an email yesterday but didn't reply to the list,
maybe it got lost. I tried it and the issue was fixed for me, so the
simple replacement worked. Thanks again, Bastian
Am 09.05.2023 um 11:25 schrieb Peter Strömberg:
…
This fix is now released, blindly, in Calva v2.0.358. All that is
changed is that all |\| in |$file| will be replaced with |\\|. So, it
really /should/ fix the issue...
Another thing. I'd like to mention a new feature in Calva, released
with v2.0.356, that might, or might not, be relevant for Clerk
notebooks workflow. It's a way to get code called when the file is
loaded in the REPL (using Calva's command for *Load File*). The same
substitutions as with the custom command snippets are available here.
See: Calva: Auto-evaluate Code at file/namespace load/evaluation
<https://calva.io/customizing-jack-in-and-connect/#auto-evaluate-code-at-filenamespace-loadevaluation>
for details.
—
Reply to this email directly, view it on GitHub
<#393 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APZ3CEX4BQMGAORU7RQWRE3XFIESNANCNFSM6AAAAAAUD72BBE>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I haven't used Clerk for a long time. Feel free to close or do whatever. Thanks! |
Add VS Code clerk/show! file watcher hotkey instructions.