Re: New developments in beginner-friendly editing/repl environments?

2018-08-31 Thread Mark Engelberg
As someone who has taught beginners, I agree 100% with Lee's wishlist. It is very important to have an easy install process that gets you to an editing environment that lets you leverage existing text editing skills with minimal or no paren magic, with a focus on making the indenting reflect what

RE: New developments in beginner-friendly editing/repl environments?

2018-08-30 Thread Sean Corfield
'Lee' via Clojure said, on Thursday, August 30, 2018 9:25 AM: > I've got a super intuitive way to control parens: Type them! :-) I think this is the perfect time for http://corfield.org/articles/omg_parens.png :) Sean -- You received this message because you

Re: New developments in beginner-friendly editing/repl environments?

2018-08-30 Thread 'Lee' via Clojure
I've got a super intuitive way to control parens: Type them! :-) On Thursday, August 30, 2018 at 7:59:45 AM UTC-4, tbc++ wrote: > > > I never understood how Python is so popular, where spacing is most > important. > > > Using tab and shift tab to control parens is really intuitive, because I >

Re: New developments in beginner-friendly editing/repl environments?

2018-08-30 Thread Timothy Baldridge
> I never understood how Python is so popular, where spacing is most important. > Using tab and shift tab to control parens is really intuitive, because I want to structure my code anyway and doing it the parinfer way is no big adjustment. I think you answered your own question On Thu, Aug 30,

Re: New developments in beginner-friendly editing/repl environments?

2018-08-30 Thread Philipp Neumann
I never understood how Python is so popular, where spacing is most important. Other than that, I really prefer parinfer over paredit, because I don't have to memorize all the key shortcuts to slurp, barf, split and slice. Using tab and shift tab to control parens is really intuitive, because I

Re: New developments in beginner-friendly editing/repl environments?

2018-08-29 Thread 'Lee' via Clojure
I have indeed had conversations with Zach Oakes (developer of Nightcode) about the required use of Parinfer. If I understand correctly, the fact that Parinfer always maintains matching brackets makes his life significantly easier in developing other aspects of his editor, I guess because he

Re: New developments in beginner-friendly editing/repl environments?

2018-08-29 Thread Phillip Lord
Have you asked the developer to provide an option? >From my experience is that parinfer is weird for the first 5 mins. Then it gets less confusing than trying to work out why the indentation is wrong. In paren mode, it does allow adding and removing brackets also. Phil "'Lee' via Clojure"

Re: New developments in beginner-friendly editing/repl environments?

2018-08-28 Thread 'Lee' via Clojure
Thanks! I will add a pointer to chocolatey in my class notes. FWIW, although the lein installation piece sometimes seem to have been the hangup, we've often gone down rabbit holes of messing with different versions and/or installers and/or configuration procedures for Java, lein, and whatever

Re: New developments in beginner-friendly editing/repl environments?

2018-08-28 Thread Nando Breiter
https://chocolatey.org/ might help Windows users install Leiningen https://chocolatey.org/packages/lein The proto-repl readme: https://github.com/jasongilman/proto-repl says that "Proto REPL can still start a REPL outside of a Leiningen project. It still uses Leiningen to start the REPL but uses

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Ah -- after quitting and restarting Atom the error (which I was getting from Start REPL), the error is gone, and it appears to work nicely. Thanks again! So Atom + atom-beautify + proto-repl might do much of what I need, with relatively painless installation and setup. I guess this still

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Nando Breiter
Not sure what errors you are seeing. I’ve found proto-repl to be reliable. If I recall correctly, the project you are using proto-repl with has to be the topmost. I will check this for you. Aria Media Sagl On 27 Aug 2018, at 22:51, 'Lee' via Clojure wrote: Aha -- atom-beautify does seem to

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Alas, current Nightcode forces use of parinfer, unless something has changed very recently. Previous versions of Nightcode met all of my requirements and I used them for teaching, and liked it quite a lot. But parinfer is a problem. One of my requirements is that the editor acts mostly like

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Aha -- atom-beautify does seem to work! Excellent. This will lead me to consider Atom further. Would you recommend it for editing only, or also for REPLs etc? I just tried proto-repl but this leads to errors and confusion. Still, if it works well as just an editor then perhaps I could pair

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Erik Assum
Have you had a look at Nightcode? https://sekao.net/nightcode/ Erik. -- i farta > 27. aug. 2018 kl. 22:00 skrev Nando Breiter : > > Lee, > > Perhaps https://atom.io/packages/atom-beautify will do what you want. > > With Parinfer disabled, I can select and shift-tab all code to the left >

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Nando Breiter
Lee, Perhaps https://atom.io/packages/atom-beautify will do what you want. With Parinfer disabled, I can select and shift-tab all code to the left margin, removing all indentation. Then when I run Atom Beautify on the file, all indentation is restored. Aria Media Sagl +41 (0)76 303 4477 cell

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread rick
It’s under one of the code or refactor menus, you can auto-format or auto-indent. > On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure > wrote: > > > Probably true that my requirements are a bigger challenge for multi-language > IDEs. I thought Eclipse/Counterclockwise did a reasonable job of

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Thanks Didier -- I have checked that out and it's cool! But what I'm looking for has to be able to handle ordinary projects, with files and dependencies, etc. -Lee On Monday, August 27, 2018 at 2:44:36 PM UTC-4, Didier wrote: > > Have you tried maria.cloud? Its only ClojureScript, but in

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Interesting. I've now installed clojure-indent and it looks like it improves indentation when you type a newline, but doesn't provide a way to re-indent the current line or selection, which is the key feature. Maybe it's there but I don't see it? I guess one could delete and then re-enter

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Didier
Have you tried maria.cloud? Its only ClojureScript, but in the Jupiter style seems to meet your needs. Though you can't add dependencies to it as far as I know. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Maybe a good new approach would be to combine working with CLI and some minimal or existing editor that just supports bracket-matching and re-indentation? I'm led to this from listening to David Nolen's "Embracing Simpler Tools" (https://www.youtube.com/watch?v=F0Lv53lop2g), although I'm

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Nando Breiter
I haven't tried it, but https://atom.io/packages/clojure-indent ? Aria Media Sagl +41 (0)76 303 4477 cell skype: ariamedia On Mon, Aug 27, 2018 at 5:30 PM, 'Lee' via Clojure wrote: > > Probably true that my requirements are a bigger challenge for > multi-language IDEs. I thought

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Probably true that my requirements are a bigger challenge for multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable job of it back when that was an active project, but it was a bit rough too, since there was a lot of incidental and distracting complexity in dealing with

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Rick Mangi
Yeah, I actually just create projects with lein. If you right click on a project.clj you can just fire up a repl via lein and it works really well. There's 3 choices for parenthesis, there's again a little button on the bottom right to switch between parinfer/paredit and off. You can customize all

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Thanks Rick. Just tried Cursive again but it still seems to fail pretty badly on newbie setup and usability, which is what has hung me up in the past. tldr: A half hour or so after a fresh install and going through the Getting Started instructions I still don't have a REPL (confused about

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Rick Mangi
I find intellij + cursive to be pretty darn easy to use, and the repl has an option to turn off parinfer. That said, I'm not a beginner. The only drawback that I can think of other than price is that the clojure functionality is mostly put under a single menu and it's sometimes awkward to navigate

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Thanks Alex. I've tried Atom periodically and just updated/reinitialized to try again. Unfortunately, I don't see syntax-aware re-indentation, which may be what has always prevented me from using this in the past. Am I just missing it? VSCode is a new one for me, and I've just tried it. Not

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Alex Miller
I think Atom and VSCode are probably the two additional ones you might want to look into? On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote: > > This is my roughly-annual check-in to see if there are new good > editing/execution options for me to use in my Clojure teaching and coding. >