That looks promising, but I have a feeling that vscode doesn't offer as much options to hook into the editor as emacs does. E.g., one of the first emacs scripts I wrote added the next number to the current line. It contains something like (insert (number-to-string (setq counter (+ 1 counter)))) Is that kind of thing possible too?
Show HN: Joyride: script VSCode like Emacs but using Clojure
11–20 of 46 posts
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#12That looks promising, but I have a feeling that vscode doesn't offer as much options to hook into the editor as emacs does. E.g., one of the first emacs scripts I wrote added the next number to the current line. It contains something like (insert (number-to-string (setq counter (+ 1 counter)))) Is that kind of thing possible too?
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#13That looks promising, but I have a feeling that vscode doesn't offer as much options to hook into the editor as emacs does. E.g., one of the first emacs scripts I wrote added the next number to the current line. It contains something like (insert (number-to-string (setq counter (+ 1 counter)))) Is that kind of thing possible too?
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#14People who like this should consider sponsoring both Borkdude and PEZ on GitHub. They do amazing work for the Clojure ecosystem.
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#15That looks promising, but I have a feeling that vscode doesn't offer as much options to hook into the editor as emacs does. E.g., one of the first emacs scripts I wrote added the next number to the current line. It contains something like (insert (number-to-string (setq counter (+ 1 counter)))) Is that kind of thing possible too?
This is possible, but it's a bit more code. Watch the introductory video that PEZ made where he does something similar.
https://gist.github.com/borkdude/08ec3ae2af5963a4a03cd8e0873...
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#16Nice! I really wish we could have a CLJS -> JS compiler in pure JS (something like TypeScript) and no need for JVM or JVM libs.
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#17As the co-creator here I'd like to add that Joyride is taking the very first baby steps here. We hope a lot of people want to try it and provide feedback to inform our next steps. NB: The video has a target audience of people who know Clojure and its strengths. Especially how the REPL is used. I hope HN will see beyond the parens. =) It should make some sense anyway. Especially if you have some Emacs scripting experi…
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#18Nice! I really wish we could have a CLJS -> JS compiler in pure JS (something like TypeScript) and no need for JVM or JVM libs.
I thought Lumo was this, tough that project might be dead. ShadowCljs is pretty close.
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#19That looks promising, but I have a feeling that vscode doesn't offer as much options to hook into the editor as emacs does. E.g., one of the first emacs scripts I wrote added the next number to the current line. It contains something like (insert (number-to-string (setq counter (+ 1 counter)))) Is that kind of thing possible too?
You mean whether VSCode extensions (1) can insert into the current line; and (2) have state? The answer should be rather obvious, yes.
Re: Show HN: Joyride: script VSCode like Emacs but using Clojure
#20As the co-creator here I'd like to add that Joyride is taking the very first baby steps here. We hope a lot of people want to try it and provide feedback to inform our next steps. NB: The video has a target audience of people who know Clojure and its strengths. Especially how the REPL is used. I hope HN will see beyond the parens. =) It should make some sense anyway. Especially if you have some Emacs scripting experi…
Do you ever sleep? Seriously; your productivity is insane.
But usually I do get sleep. The question we should ask is if borkdude sleeps? He's doing about 100X as much as I do. Maybe there are hundreds of borkdudes.