This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-02
Channels
- # announcements (13)
- # architecture (18)
- # babashka (90)
- # beginners (80)
- # calva (35)
- # chlorine-clover (29)
- # cider (24)
- # clj-kondo (4)
- # cljfx (3)
- # clojure (60)
- # clojure-australia (2)
- # clojure-europe (60)
- # clojure-france (2)
- # clojure-germany (3)
- # clojure-italy (4)
- # clojure-nl (84)
- # clojure-norway (7)
- # clojure-uk (53)
- # clojurescript (54)
- # clojureverse-ops (1)
- # community-development (6)
- # conjure (1)
- # contributions-welcome (1)
- # cursive (12)
- # datomic (1)
- # fulcro (16)
- # garden (61)
- # girouette (1)
- # graalvm (14)
- # hugsql (1)
- # instaparse (5)
- # jobs-discuss (11)
- # keechma (1)
- # lambdaisland (3)
- # off-topic (20)
- # pathom (1)
- # re-frame (3)
- # reitit (2)
- # releases (1)
- # remote-jobs (2)
- # reveal (11)
- # shadow-cljs (58)
- # spacemacs (5)
- # sql (3)
- # startup-in-a-month (1)
- # vim (2)
@ivana as for the inline result, VSCode does not allow to offer "rich visualizations" to inline results, and currently the results that are rendered on the console are hiccup data structures. I'm thinking on a way to represent results as text, but I'm not yet sure on how this could play nice with the recent improvements on Interactive Results... But it would be interesting to have a converter to text - maybe I could offer a similar Chlorine/Clover experience in NeoVIM too 😄
(so much to try, so little time 😞)
@mauricio.szabo there are many plugins which shows inline results in different ways, some of this ways looks more pretty than others, but all of them are better than total absence of it 🙂 And also REPL window does not autoscroll down to show last result - user have to scroll it manually each time to see the result of evaluation. Or there is some setting for this autoscroll anywhere?
@ivana yes, the autoscroll is buggy. It did work on some previous version, I'm still trying to figure out what's wrong 😱
Hello fellow VS Code Clojurians, here’s an experiment. Calva contains a lot of work and creativity towards making Clojure coding nice. And Clover seems super nice and reaches REPLs that Calva does not. What if Calva’s static features were easier to reach without the clashing of the REPL UIs? In this build of Calva there is a setting: calva.hideREPLUi
that will, exactly, hide most of Calva’s REPL UI elements. In theory it should then be a possible companion to Clover’s REPL services. I’d love some help testing if it works.
PR: https://github.com/BetterThanTomorrow/calva/pull/1009
Calva VSIX: https://10706-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.158-1005-hide-repl-option-52f9d35a.vsix
@pez Are there potentially other extensions I should disable before trying to install this? I have Strict Paredit and Parinfer and a few others that maybe might conflict?
Also, how do I actually use that URL? I clicked on it and my browser helpfully turned it into a .zip
file 😐
Figured it out 🙂 Renamed .zip -> .vsix and then discovered that the Extensions panel has ... with Install from VSIX option. I disabled the standalone clj-kondo, as well as Strict Paredit and Parinfer...
You can use Parinfer, but you will want to disable Calva’s auto-formatting then. (You’ll still have on-demand formatting of the current list using the tab
key.) But I certainly use the autoformatter instead,.
Oh wow, that LSP integration shows a LOT of code assistance!
I suspect I'm going to need to re-map all of those Paredit keys -- they are not at all what I would expect 😐
https://github.com/ailisp/strict-paredit-vscode is what I'm used to...
Depending on what keys you expect there might be keymaps out there that work better for you. I know @borkdude has some Emacsy ones .
I will try the Calva keys but, lordy, they are not very intuitive...
Here are some of them that I ported from emacs: https://gist.github.com/borkdude/6958364c88312713e62f13d8ba2b28e7
wrap ( -- I'm used to ctl-alt-9 or ctl-alt-( not ctl-alt-shift-p 👀
Yeah, some are a bit crazy. But ctrl+alt+(
doesn’t make sense on most non-english keyboards.
You mentioned the calva.hideREPLUi
setting -- how do I get to that / update it?
@seancorfield maybe like this: https://calva.io/customizing/
Typing Settings
doesn't show anything related to Calva -- I already tried that -- so it's not at all obvious where/how I would find or change the setting that @pez mentioned...
Oh, it's just in the Extensions Settings for Calva as a check box. Sorry, I was expecting to find some hidden JSON stuff...
Ah, looks like I need to disable my standalone rainbow brackets extension too.