Fork me on GitHub
#cursive
<
2016-08-12
>
cfleming00:08:39

@hlship: You mean you’d like to be able to define the keystroke when defining the command? That makes sense, sure. I’m also not sure what the special care part means, do you mean support for saying “All my keystrokes should be prefixed with alt-z”?

snowell11:08:33

@cfleming: Here’s a snippet. Screenshot with red underlines to follow:

(def my-trans
  (comp
    (mapcat vals)
    (map second)))

; My transducer
(def my-transducer
  (comp
    (mapcat vals)
    (map second)))

cap10morgan20:08:41

I just issued a PR to get solarized rainbow parens when using Cursive w/ solarized: https://github.com/jkaving/intellij-colors-solarized/pull/131

cap10morgan20:08:34

You can, of course, add the diff into your own ~/Library/Preferences/IdeaIC2016.2/colors/Solarized*.icls files and restart to get them now.

rob21:08:36

Ok, I fixed ☝️ by setting src/java as a source dir in Project Structure.

cfleming22:08:30

@rob: If you do it manually like that, Cursive will overwrite it when it syncs your project. But if you’ve added it to your project.clj, Cursive should mark that dir as a source root anyway.

cfleming22:08:16

One thing - after adding the value to :java-source-paths you have to sync your project.clj, if you didn’t do that things should just work now it’s set.

rob22:08:07

ah excellent, I didn’t do that, as I wasn’t aware that operation — I’ll check it out, thanks!