3 ms·
I ran into that bug too. It's the first bug that I've encountered with Leiningen after using it for more than five years. Sorry that that was your first experie
by billrobertson42 9y ago
I ran into that bug too. It's the first bug that I've encountered with Leiningen after using it for more than five years. Sorry that that was your first experience with the toolset, but it's far from the normal experience.
Also, if you're happy using an editor other than Emacs, then go for it. I use it but only because I've been using it for quite some time, and other than the fact that I like the way emacs indents Clojure source there's nothing special about it in the way that I use it. Visual Code has nice support for the language so that's a good option if it's more up your alley.
One area where I see Lightmod being really helpful is setting up the initial project. Learning what's going on w/cljsbuild, figwheel and then how to combine that with Clojure in the same project file isn't the simplest thing in the world to say the least.
- modernerd 9y agoThanks for the tips and reassurance – it's good to hear that using Visual Code is acceptable; it's what I'm more comfortable in, and I'll persevere with it!
- moomin 9y agoIt would be really useful if VSC supported the Emacs indentation style: it’s what most people use in real Clojure code. Paredit would be brilliant too (http://bit.ly/paredit http://bit.ly/paredit if you’re not familiar)
- modernerd 9y agoIt looks like there's an extension for paredit, but not sure how it compares to Emacs: https://marketplace.visualstudio.com/items?itemName=clptn.code-paredit https://marketplace.visualstudio.com/items?itemName=clptn.co... For formatting, I've been using this, which supports cljfmt: https://marketplace.visualstudio.com/items?itemName=avli.clojure https://marketplace.visualstudio.com/items?itemName=avli.clo... And the rainbow brackets extension has made code more legible while I've been learning: https://marketplace.visualstudio.com/items?itemName=2gua.rainbow-brackets https://marketplace.visualstudio.com/items?itemName=2gua.rai...
- malloryerik 9y agoYou might also try Cursive[0], a full-featured plug-in for IntelliJ. You can use it free until you so something pro, after which it's about a hundred bucks. Many of the more well-known Clojurists seem to use it. I believe that with Clojure, you owe it to yourself to have a first-class REPL. I mostly use Emacs, but yeah, rabbit hole... [0] https://cursive-ide.com/ https://cursive-ide.com/