This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (10)
- # aws (4)
- # babashka (42)
- # beginners (208)
- # bristol-clojurians (2)
- # calva (13)
- # chlorine-clover (52)
- # cider (5)
- # clara (22)
- # clj-kondo (2)
- # clojars (14)
- # clojure (107)
- # clojure-europe (24)
- # clojure-nl (4)
- # clojure-uk (6)
- # clojurescript (3)
- # conjure (20)
- # cursive (23)
- # datascript (2)
- # datomic (15)
- # figwheel-main (3)
- # fulcro (23)
- # jobs (3)
- # kaocha (5)
- # keechma (3)
- # local-first-clojure (1)
- # malli (13)
- # off-topic (16)
- # planck (6)
- # re-frame (8)
- # reagent (3)
- # reitit (1)
- # releases (1)
- # remote-jobs (1)
- # rum (1)
- # sci (37)
- # shadow-cljs (16)
- # tools-deps (158)
- # vim (3)
- # xtdb (8)
@seancorfield Hi Sean, hope things are well with you, been a while since I've been on here. I have some questions regarding your Chlorine setup that I'm using.
1. When I press Ctrl+Enter to make a newline when my cursor is positioned before a closing parenthesis, it just makes a newline and moves my cursor to that new line - how do I make it so that the closing parenthesis is moved to a new line so that I can make a multi-line function? This is on Windows btw, if that makes a difference.
2. After I finish a Chlorine session and I am closing things down, when I try to exit the Clojure prompt in the Powershell window (that I used to start the session with) I enter Ctrl+Z to exit it but it just hangs and never seems to exit properly - perhaps a bug? So I just close the Powershell window instead - it seems to close the JVM down as task manager doesn't seem to show any JVM instances.
Yeah, I've never figured out entirely satisfactory behavior of Atom on Windows. I mostly work on a Mac.
On macOS, I can just switch to the REBL process and press cmd-q which quits the whole thing. I wonder if you can use alt-f4 on Windows?
When I replace my main dev machine (a 27" iMac), it'll be with a Windows machine and I'll have to figure all this stuff out properly 🙂
Closing the UI doesn't stop REBL running so, yeah, probably something is running in the background.
My main problem though is the multi-line thing though - the hanging is just a minor annoyance
If I can't multi-line functions - I am going to have some very long single line functions 😛
I guess I can cut and paste the closing parenthesis onto a newline as a temporary workaround - only just thought of that
Dunno. Like I say, I don't do enough dev on Windows to warrant spending that much time figuring these sorts of weirdnesses out.
It says something in the keymap.cson comments about Ctrl sometimes being needed: "If you're having trouble with your keybindings not working, try the
# Keybinding Resolver:
Cmd+. on macOS and
Ctrl+. on other platforms"
I like the deep integration Windows offers with Android phones. I like Windows a lot more than macOS these days. I think Apple has lost the plot.
Oh yeah and I forgot my third question too if you don't mind answering: With the Scoop installer for Clojure there is extras like clj-kondo, babashka and joker - should I install those as well? Or maybe just clj-kondo - not sure if Chlorine has linting built in or not?
Atom has a
linter package and there's also a
linter-kondo package which will use
OK so maybe I'll stick with Windows then and maybe use Linux with WSL2 - that sounds like might be nice
clj-kondo from Scoop, plus
linter-kondo for Atom (it'll install
And Microsoft are planning to support Linux apps with a UI so maybe running Atom and REBL etc on WSL will be viable "soon"...
Yeah I'm thinking it's probably easier to do Clojure and Chlorine on that instead of directly in Windows
Plus I've been interested in Graal and wanted to play with that but I don't think there is a Windows installer yet, might be mistaken
@seancorfield I read through some of the Atom stuff and found this Keybinding Resolver which says when I am pressing Enter it is executing the Enter command from the win32.cson file which has core:confirm listed as the value for that keybinding. Which I'm guessing is just Enter being used to confirm things. I think I'll just change the keybinding in keymap.cson to something other than Enter for now.