Fork me on GitHub
#parinfer
<
2016-03-27
>
sekao01:03:51

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

denik04:03:25

@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 defs and defns 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.

cfleming06:03:06

I have a couple of issues open in my tracker, both around highlighting the background for the current scope and semantic highlighting.

cfleming06:03:15

Here’s a Sublime plugin that does something similar: https://github.com/mazurov/sublime-levels

cfleming06:03:35

It makes my eyes bleed personally, but it’s an interesting idea.

cfleming06:03:21

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.

cfleming06:03:15

Here’s an example of Sublime highlighting the current sexp: https://github.com/cursive-ide/cursive/issues/25#issuecomment-26153214

cfleming06:03:32

That would be more subtle if it were a different background colour rather than an outline.

adamkowalski07:03:11

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