This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-27
Channels
- # admin-announcements (1)
- # aleph (3)
- # beginners (72)
- # boot (67)
- # braveandtrue (1)
- # cider (17)
- # cljs-dev (8)
- # cljsfiddle (2)
- # cljsjs (1)
- # cljsrn (2)
- # clojure (19)
- # clojure-greece (1)
- # clojure-russia (42)
- # clojurescript (15)
- # core-logic (10)
- # cursive (6)
- # datomic (2)
- # hoplon (349)
- # kosmos (3)
- # lein-figwheel (3)
- # om (52)
- # onyx (3)
- # overtone (1)
- # parinfer (11)
- # proton (11)
- # protorepl (3)
- # reagent (29)
- # ring-swagger (2)
- # spacemacs (1)
- # testing (3)
- # uncomplicate (1)
Yeah I'm definitely interested in semantic highlighting as well. Now that I can eval in clojurescript I'm gonna try to do that with paren-soup. I think cider can highlight macros differently than functions which falls under this category iirc
@adamkowalski: that’s cool. I’d actually prefer that too. I like how some themes in intellij play with font-weight. It is used for def
s and defn
s but that doesn’t make much sense since they’re nearly the only top level expressions you see. Something crazy would be cool where the font-weight is determined by the chain of functions defined in your project that a given execution goes through. A complexity hint.
I have a couple of issues open in my tracker, both around highlighting the background for the current scope and semantic highlighting.
Here’s a Sublime plugin that does something similar: https://github.com/mazurov/sublime-levels
One thing I’ve wanted to do for a while is to highlight subtly differently the then/else clauses of if
statements, to stop me accidentally using if
instead of when
or vice versa.
Here’s an example of Sublime highlighting the current sexp: https://github.com/cursive-ide/cursive/issues/25#issuecomment-26153214
That would be more subtle if it were a different background colour rather than an outline.
Here’s the Emacs equivalent: https://www.emacswiki.org/emacs/HighlightSexps
Here’s another suggestion I’ve received: https://medium.com/@evnbr/coding-in-color-3a6db2743a1e#.cm7qdnl01
I think this type of coloring could actually be useful: https://plus.google.com/+PaulIrish/posts/XjR4WmSDFAV if you had the options to turn it on and off