by gt384u · 14y ago · 0 comments
By way of context, I was a test subject for a perhaps related project called Code Bubbles http://www.andrewbragdon.com/codebubbles_site.asp a while ago. Since it was for Java, a language which is comparatively verbose and I often have difficulty getting decent code density with, this new IDE interaction was truly novel and I found often useful.
I test drove the Pretty Lisp Demo and felt myself wanting for code density in a language where I don't typically have those issues. It was just too hard to fit a useful quantity of code in a screen.
This already exists: http://www.foldr.org/~michaelw/emacs/mwe-color-box.el
(you can see a screenie in http://www.foldr.org/~michaelw/emacs/color-box.png)
Seriously though, I wish that emacs put effort into a more modern rendering architecture. So that you could implement this sort of visualization in a more flexible way.
http://www.vim.org/scripts/script.php?script_id=3361
http://www.vim.org/scripts/script.php?script_id=1800
Some screenshots:
http://nathanaelkane.imgur.com/indent_guides
http://viming.blogspot.com/2007/02/indent-level-highlighting...
Of course, you can also get rainbow parenthesis in vim via:
:let g:lisp_rainbow = 1
There should also be some way to get background highlights based on sexpr's instead of just indent level, but I haven't personally seen it.Edit: actually, come to think of it, I seem to recall hearing that the slimv[1] plugin can do this. But I haven't really played with it myself.
Pretty list still doesn't look very appealing to me. It doesn't help organize the code, all it does is replace parenthesis with visual boxes.