Clojurians
#cursive
<
2017-01-13
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

pupeno07:01:36

@cfleming I renewed my license and it went smooth, without any issues.

cfleming07:01:31

@pupeno Thanks!

misha12:01:43

@cfleming greetings! is there a way to change style of a "form at caret"? e.g. make it bold, like here: https://cdn-images-1.medium.com/max/996/1*D1AFTkwdK3KElSLTRB0fog.png

cemerick12:01:24

@misha that's a nice idea

misha14:01:01

@cemerick: kudos to @dottedmag

cemerick14:01:50

@misha was that his suggestion originally?

cemerick15:01:54

ok; highlighting matching braces is obvious, but I'd never considered how useful highlighting the current expr would be

cemerick15:01:34

@misha, @dottedmag I created an issue for this here https://github.com/cursive-ide/cursive/issues/1635

misha16:01:05

@cemerick: changing background color is known too, but making text bold is surprisingly helpful and pleasantly looking

mss17:01:47

having trouble getting a vanilla cljs repl (no figwheel) up and running. I created a repl configuration with the use clojure.main in a normal jvm process option with the added before launch step of synchronize leiningen projects. after booting my repl and switching from clj to cljs evaluation, I tried evaulating an ns declaration. unfortunately, none of my dependencies seem to be on the classpath (e.g. FileNotFoundException Could not locate goog/events__init.class or goog/events.clj on classpath. clojure.lang.RT.load (RT.java:458)). do I need to do anything special to expose those? am I missing something completely about how cursive supports cljs?

cfleming21:01:11

@cemerick @misha Looks like this was requested a while ago: https://github.com/cursive-ide/cursive/issues/824. The bold is nice though.

cfleming21:01:34

I’m also planning to add the ability to highlight then and else clauses of if statements differently.

cfleming21:01:58

@mss I think that should work. Can you see ClojureScript as a dependency in your project view under External Dependencies? Also, does it appear in the classpath that’s printed at REPL startup?

mss21:01:09

thanks for the tip. so when running Analyze -> Analyze Dependencies, cljs/core appears as a Production Class. also appears in the classpath printed at repl startup

mss21:01:07

the vanilla cljs file requires work fine btw. e.g. pprint can be invoked in an ns declaration no problem

mss21:01:04

it’s my other cljs dependencies (pulled down via lein) and deps of deps (closure libs e.g. goog.events) that the editor can’t seem to resolve

dragoncube22:01:39

@cfleming you’ve probably been extremely busy with renewal site lately, but is there any progress or roughly idea when it would be done on roadmap effort we discussed on Clojure Conj? :slightly_smiling_face:

mss22:01:32

fwiw the error seems to suggest it’s trying to load my cljs deps as clj deps (hence the init.class and filename.clj on classpath message)

mss22:01:29

don’t know why the cljs repl would assume that those deps (which are js) would expose files like that

cfleming23:01:33

@mss sorry I’m babysitting right now, I’ll look in detail later. Is your project somewhere I can look at it?

mss23:01:40

no worries, appreciate the help whenever you can get to it. unfortunately the source isn't easily perusable, but will dm you steps to reproduce as best as I can