[ANN] paren-soup 0.1.1, a browser-based editor for CLJS
This is a ClojureScript viewer and editor you can embed in any website. I hope to make it better than CodeMirror for those who don't need polyglot support. I announced it last week but it was pretty much unusable because it didn't have paren completion. Now it is slightly more usable. Here are the features: - Syntax highlighting - Rainbow delimiters - Automatic indentation - InstaREPL (à la Light Table) Code: https://github.com/oakes/paren-soup Demo: http://oakes.github.io/paren-soup I use the new ClojureScript eval capability for the instarepl, and the new CLJS version of tools.reader to provide highlighting and indentation. The downside to using tools.reader is that reader errors break both of those things, which is why paren completion was strictly necessary! It is still pretty flawed, but hopefully I'll be able to make this production-ready eventually. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [ANN] paren-soup 0.1.1, a browser-based editor for CLJS
Yeah I should've tested on a non-Mac. That should just be a CSS change if there is a way to make scrollbars disappear. I'll look into it soon. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [ANN] paren-soup 0.1.1, a browser-based editor for CLJS
For me, the instarepl column seems to be unreadable because all the results have horizontal scrollbars that entirely obscure the results. On Tue, Sep 8, 2015 at 4:38 PM, Zach Oakeswrote: > This is a ClojureScript viewer and editor you can embed in any website. I > hope to make it better than CodeMirror for those who don't need polyglot > support. I announced it last week but it was pretty much unusable because > it didn't have paren completion. Now it is slightly more usable. Here are > the features: > >- Syntax highlighting >- Rainbow delimiters >- Automatic indentation >- InstaREPL (à la Light Table) > > Code: https://github.com/oakes/paren-soup > Demo: http://oakes.github.io/paren-soup > > I use the new ClojureScript eval capability for the instarepl, and the new > CLJS version of tools.reader to provide highlighting and indentation. The > downside to using tools.reader is that reader errors break both of those > things, which is why paren completion was strictly necessary! It is still > pretty flawed, but hopefully I'll be able to make this production-ready > eventually. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [ANN] paren-soup 0.1.1, a browser-based editor for CLJS
I should have given you that information up front, sorry. I just tried it in Windows 10 using both Edge and Chrome and both have scrollbars. Earlier I was using Chrome in Windows 7. I was able to fix it in the inspector using "overflow: hidden": .paren-soup .instarepl .result { position: relative; overflow: hidden; background-color: lightgreen; outline: 1px solid; } On Tue, Sep 8, 2015 at 8:46 PM, Zach Oakeswrote: > I'm bad at CSS, but it looks like there isn't a standard way to hide > scrollbars in browsers without removing the ability to scroll. Are you > using Windows? Maybe I can boot up a VM and try things out to fix this > issue. > > > On Tuesday, September 8, 2015 at 5:05:32 PM UTC-4, Zach Oakes wrote: >> >> Yeah I should've tested on a non-Mac. That should just be a CSS change if >> there is a way to make scrollbars disappear. I'll look into it soon. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [ANN] paren-soup 0.1.1, a browser-based editor for CLJS
Thanks, I just made the change in both the release zip and the demo. I was aware of "overflow: hidden", but it prevents you from scrolling with your mouse/trackpad either, so results that can't fit will just be cut off. However, I think supporting browsers and OSes that have visible scrollers is more important so the change is now live. On Tuesday, September 8, 2015 at 9:08:24 PM UTC-4, Aaron Cohen wrote: > > I should have given you that information up front, sorry. > > I just tried it in Windows 10 using both Edge and Chrome and both have > scrollbars. Earlier I was using Chrome in Windows 7. > > I was able to fix it in the inspector using "overflow: hidden": > > .paren-soup .instarepl .result { > position: relative; > overflow: hidden; > background-color: lightgreen; > outline: 1px solid; > } > > > On Tue, Sep 8, 2015 at 8:46 PM, Zach Oakes> wrote: > >> I'm bad at CSS, but it looks like there isn't a standard way to hide >> scrollbars in browsers without removing the ability to scroll. Are you >> using Windows? Maybe I can boot up a VM and try things out to fix this >> issue. >> >> >> On Tuesday, September 8, 2015 at 5:05:32 PM UTC-4, Zach Oakes wrote: >>> >>> Yeah I should've tested on a non-Mac. That should just be a CSS change >>> if there is a way to make scrollbars disappear. I'll look into it soon. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com >> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.