This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-27
Channels
- # beginners (113)
- # calva (39)
- # cider (18)
- # cljs-dev (19)
- # cljsrn (1)
- # clojure (80)
- # clojure-dusseldorf (1)
- # clojure-finland (1)
- # clojure-gamedev (1)
- # clojure-germany (2)
- # clojure-italy (38)
- # clojure-nl (16)
- # clojure-spec (90)
- # clojure-uk (81)
- # clojurescript (28)
- # clojutre (9)
- # cursive (47)
- # data-science (4)
- # datomic (21)
- # emacs (1)
- # events (2)
- # fulcro (11)
- # graphql (2)
- # hoplon (8)
- # hyperfiddle (23)
- # jobs (2)
- # kaocha (4)
- # lein-figwheel (1)
- # luminus (1)
- # mount (1)
- # off-topic (41)
- # pathom (5)
- # pedestal (27)
- # reitit (6)
- # remote-jobs (7)
- # ring-swagger (6)
- # shadow-cljs (42)
- # spacemacs (1)
- # sql (9)
- # tools-deps (6)
- # uncomplicate (2)
- # vim (5)
I was wondering if we might just show longer inline results in the repl or output window?
@srijayanth, no worries, I did not take it as a feature request or critique. It's a valid question and hopefully we will be able to answer it by empirically confirming that there's no particular reason. 😄
Hi, I'm a vim user and evaluating calva for clojurescript code. I have vim bindings installed on code and it works on regular files but on clojure ones it does not. Is this related to calva ?
I'm on a cljs file and hit esc and cannot type vim commands. On a new buffer that is not clojure it works
Calva binds ESC to dismissing the display of inline evaluation results. Either re-bind Calva's default or the vim plugin's default.
Oh I see
There is a closed issue on Github discussing this. I recommend checking that one out for more info.
Thank you @pez. I'm evaluating calva for cljs use. If I do not use it for day to day I'll use to teach clojure here. Because it looks very approachable for the begginer
In fact the Vim cljs workflow is terrible 🙂
We're workinhg on making it more approachable, but with your experience you can guide people through the initial setup horror. 😃
There's one feature on vim's paredit plugin that im addicted it's pressing ( and ) to navigate around the code. it looks like it' s ctrl up and ctrl down just a matter of rebiding too isn't it
had to add && vim.active && vim.mode != 'Insert' to the condition and rebind to ( . Let's see how it goes :)
even after setting default keymap to strict I can delete and make unbalanced parens. Do you have idea why ?
If I activate vim keymap the strict mode does not work. Is there a workaround ?
Strict mode is really just a keybinding for backspace (and maybe del, I don't remember right now). So it could be that default vim bindings also binds backspace.
just writing a very simple Calva quick start guide for our ClojureBridge event this weekend. Are the current dependency versions correct for an install of Calva on Friday (1st March):
org.clojure/tools.nrepl - 0.2.13
cider/cider-nrepl - 0.19.0
Here's the jack-in command used in the branch where jack-in is enabled:
/usr/local/bin/lein update-in :dependencies conj "[nrepl \"0.5.3\"]" -- update-in :dependencies conj "[cider/piggieback \"0.3.10\"]" -- update-in :plugins conj "[cider/cider-nrepl \"0.20.0\"]" -- update-in "[:repl-options :nrepl-middleware]" conj "[\"cider.nrepl/cider-middleware\"]" -- update-in "[:repl-options :nrepl-middleware]" conj "[\"cider.piggieback/wrap-cljs-repl\"]" -- repl :headless
The readme is verbose for our purposes and the dependencies are actually on a separate page, the getting started page, which doesnt tell you how to use calva, but that is on the README page. Need to keep things as simple as possible, as we have people who have never programmed...
so we just need something extremely simple.
Anyway, so nrepl
, not tools.nrepl
, and 0.5.3
works good. And for cider-nrepl
, 0.20.0
works well.
I am sure its all there, we just have limited time for install if we want to spend all the time learning clojure
Ah perfect, thanks
The getting started and the readme is a mess. I think I have enabled public editing on the wiki, so feel free to rewrite it.
so the getting started is out of date then it seems. Happy to do a pull request of changes when I have a bulletproof guide for ClojureBridge
thanks for all the hard work on this project, its great to see how quickly its evolving...
The readme needs a pull request, but for the getting started I think you should be able to just edit away. Super happy you are writing that guide!
If you are ever in London, UK and want to talk about Calva at one of the London Clojurians events, just let me know. We would love to hear from you. I might also do some online talks (once ClojureBridge is over). Thanks again.
I assume jack-in
is not ready for prime time yet and we should still start a REPL with 'lein repl' first and then connect.
Here's a version of Calva with both the new REPL window and the start of jack-in support enabled.
The jack-in is not ready for prime time, right. But works pretty well for ”standard/plain” projects.
Why do I get this message when there are tests
Why do I get this error when I try running tests with calva (and there are in fact tests)?
No tests found. 😱, ns: 0, vars: 0
Evaluating file: validations_test.clj
=> #'slm.atlas.validations-test/get-validation-cross-field-info-test
Running namespace tests…