This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-17
Channels
- # announcements (2)
- # asami (3)
- # babashka (30)
- # beginners (23)
- # calva (28)
- # cider (3)
- # clj-kondo (16)
- # clj-on-windows (7)
- # cljs-dev (7)
- # clojure (47)
- # clojure-austin (3)
- # clojure-europe (25)
- # clojure-gamedev (3)
- # clojure-greece (1)
- # clojure-nl (1)
- # clojure-uk (3)
- # clojurescript (54)
- # community-development (24)
- # conjure (16)
- # duct (1)
- # emacs (8)
- # events (1)
- # figwheel-main (4)
- # fulcro (13)
- # gratitude (20)
- # helix (3)
- # honeysql (8)
- # hyperfiddle (12)
- # introduce-yourself (1)
- # jobs (6)
- # lambdaisland (1)
- # lsp (35)
- # malli (1)
- # meander (27)
- # minecraft (11)
- # off-topic (12)
- # pathom (1)
- # portal (11)
- # releases (1)
- # remote-jobs (1)
- # ring (11)
- # sci (1)
- # shadow-cljs (53)
- # specter (5)
- # xtdb (20)
Can I disable this warning on main-otps
for all projects? It’s a little bit annoying though.
Is there a way to pass custom java parameters during jack-in? If not I'd like to request this as a feature.
You can also add them project.clj/deps.edn, and select the appropriate profile/alias at jack-in.
Is there a way to evaluate a whole file (beside selecting the whole file and then evaluating the selection)?
Perfect!
There has been some discussion in #growth and #community-development about populating http://ask.clojure.org with common questions, and their answers, from this slack. I decided to try with this one, as it is quite frequent, and also about a very important thing. It looks like so: https://ask.clojure.org/index.php/11892/calva-is-there-a-way-to-evaluate-a-whole-file
If more Calva friends want to help with making it easier to google for Calva answers, please feel encouraged to contribute in this way. 🙏 ❤️
I actually remembered that there was a command to evaluate the whole file but could lately not find it anymore within the editor. I was filtering for all kinds of commands with "file" and "eval" in it but it wouldnt list what I expected. Only looking it up online made me find it. Maybe adding the word "eval" in the name would help finding it?
@U9A1RLFNV Happy to. And done! https://github.com/BetterThanTomorrow/calva/issues/1731
There has been some discussion in #growth and #community-development about populating http://ask.clojure.org with common questions, and their answers, from this slack. I decided to try with this one, as it is quite frequent, and also about a very important thing. It looks like so: https://ask.clojure.org/index.php/11892/calva-is-there-a-way-to-evaluate-a-whole-file
If more Calva friends want to help with making it easier to google for Calva answers, please feel encouraged to contribute in this way. 🙏 ❤️
Good morning - I'm struggling quite a lot with the default indent position when creating new lines - in the below screenshot, opening the line sets the cursor in line with the blue {
instead of the yellow (
and when the file saves, it jumps right back to the start of the line. If I manually hit 'tab', it goes to the right place, but it's driving me up the wall 🙈
with format-as-type on, life is even worse - I think it's because I'm working in ssh, so the small delay throws things off while I type
hmm, 'new indent engine' + 'format as you type' together actually seems to work better...
Yes, the old indent way is a bit slow. The new one is the default, iirc. Still, we might not be awaiting some promise correctly. Please file an issue about this.
related to cursor jumping around, but probably an entirely different issue (?) on backspace removing an empty collection, it does weird things with the cursor which causes all manner of havoc when you're working at speed. this happens even without working in ssh mode, but it's more pronounced by ssh working because of the larger lag.
ah, this seems to be related to the 'paredit: default key map' - it happens on 'strict', but not 'original'
The first one works as expected/designed, as far as I can see. The second one I can't reproduce, but I am not running it remotely, so might not have the necessary lag.
The issue with the first one is that i only backspaced once, often if i backspace twice, I’ll end up deleting the ‘r’ in the tr if i get the timing wrong
The second one is quite intermittent, sometimes i end up deleting the ‘r’ instead - I’ll try dig into logging and create an issue with maybe a small repo to have all the settings the same
The first one: Calva formats the enclosing form (sometimes form_s_, depending) after Paredit edit commands. So that is why the behaviour is expected. You can maybe get it to work a bit more like what you want by playing around with your formatter config.